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

Side by Side Diff: third_party/sqlite/sqlite-src-3100200/src/test_demovfs.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** 2010 April 7 2 ** 2010 April 7
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 ** ++++++++++++SYNC+++++++++++ 108 ** ++++++++++++SYNC+++++++++++
109 ** 0 12 109 ** 0 12
110 ** ++++++++++++SYNC+++++++++++ 110 ** ++++++++++++SYNC+++++++++++
111 ** 111 **
112 ** Much more efficient if the underlying OS is not caching write 112 ** Much more efficient if the underlying OS is not caching write
113 ** operations. 113 ** operations.
114 */ 114 */
115 115
116 #if !defined(SQLITE_TEST) || SQLITE_OS_UNIX 116 #if !defined(SQLITE_TEST) || SQLITE_OS_UNIX
117 117
118 #include <sqlite3.h> 118 #include "sqlite3.h"
119 119
120 #include <assert.h> 120 #include <assert.h>
121 #include <string.h> 121 #include <string.h>
122 #include <sys/types.h> 122 #include <sys/types.h>
123 #include <sys/stat.h> 123 #include <sys/stat.h>
124 #include <sys/file.h> 124 #include <sys/file.h>
125 #include <sys/param.h> 125 #include <sys/param.h>
126 #include <unistd.h> 126 #include <unistd.h>
127 #include <time.h> 127 #include <time.h>
128 #include <errno.h> 128 #include <errno.h>
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 Tcl_CreateObjCommand(interp, "register_demovfs", register_demovfs, 0, 0); 670 Tcl_CreateObjCommand(interp, "register_demovfs", register_demovfs, 0, 0);
671 Tcl_CreateObjCommand(interp, "unregister_demovfs", unregister_demovfs, 0, 0); 671 Tcl_CreateObjCommand(interp, "unregister_demovfs", unregister_demovfs, 0, 0);
672 return TCL_OK; 672 return TCL_OK;
673 } 673 }
674 674
675 #else 675 #else
676 int Sqlitetest_demovfs_Init(Tcl_Interp *interp){ return TCL_OK; } 676 int Sqlitetest_demovfs_Init(Tcl_Interp *interp){ return TCL_OK; }
677 #endif 677 #endif
678 678
679 #endif /* SQLITE_TEST */ 679 #endif /* SQLITE_TEST */
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/src/test_config.c ('k') | third_party/sqlite/sqlite-src-3100200/src/test_devsym.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698