Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: third_party/sqlite/sqlite-src-3100200/src/btmutex.c

Issue 1610543003: [sql] Import reference version of SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/sqlite-src-3100200/src/btmutex.c
diff --git a/third_party/sqlite/src/src/btmutex.c b/third_party/sqlite/sqlite-src-3100200/src/btmutex.c
similarity index 99%
copy from third_party/sqlite/src/src/btmutex.c
copy to third_party/sqlite/sqlite-src-3100200/src/btmutex.c
index f9fe5b3dde03c726191d361252bf29d724b1f50a..c9c8572dfb2544616f576f33bbf0b15631f54fce 100644
--- a/third_party/sqlite/src/src/btmutex.c
+++ b/third_party/sqlite/sqlite-src-3100200/src/btmutex.c
@@ -141,6 +141,7 @@ static void SQLITE_NOINLINE btreeLockCarefully(Btree *p){
** Exit the recursive mutex on a Btree.
*/
void sqlite3BtreeLeave(Btree *p){
+ assert( sqlite3_mutex_held(p->db->mutex) );
if( p->sharable ){
assert( p->wantToLock>0 );
p->wantToLock--;
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/src/bitvec.c ('k') | third_party/sqlite/sqlite-src-3100200/src/btree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698