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

Unified Diff: third_party/sqlite/src/src/test_devsym.c

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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
« no previous file with comments | « third_party/sqlite/src/src/test_demovfs.c ('k') | third_party/sqlite/src/src/test_fs.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/test_devsym.c
diff --git a/third_party/sqlite/src/src/test_devsym.c b/third_party/sqlite/src/src/test_devsym.c
index 21f0f684d861116770defcdecd532ba3eeaba975..9a1ba09d69bc0fc61e0e898c616157bf1bcc473c 100644
--- a/third_party/sqlite/src/src/test_devsym.c
+++ b/third_party/sqlite/src/src/test_devsym.c
@@ -133,7 +133,8 @@ struct DevsymGlobal g = {0, 0, 512};
*/
static int devsymClose(sqlite3_file *pFile){
devsym_file *p = (devsym_file *)pFile;
- return sqlite3OsClose(p->pReal);
+ sqlite3OsClose(p->pReal);
+ return SQLITE_OK;
}
/*
@@ -395,4 +396,11 @@ void devsym_register(int iDeviceChar, int iSectorSize){
}
}
+void devsym_unregister(){
+ sqlite3_vfs_unregister(&devsym_vfs);
+ g.pVfs = 0;
+ g.iDeviceChar = 0;
+ g.iSectorSize = 0;
+}
+
#endif
« no previous file with comments | « third_party/sqlite/src/src/test_demovfs.c ('k') | third_party/sqlite/src/src/test_fs.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698