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

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/src/os_win.c

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 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 ** 2004 May 22 2 ** 2004 May 22
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 2766 matching lines...) Expand 10 before | Expand all | Expand 10 after
2777 assert(winSysInfo.dwAllocationGranularity > 0); 2777 assert(winSysInfo.dwAllocationGranularity > 0);
2778 #endif 2778 #endif
2779 2779
2780 sqlite3_vfs_register(&winVfs, 1); 2780 sqlite3_vfs_register(&winVfs, 1);
2781 return SQLITE_OK; 2781 return SQLITE_OK;
2782 } 2782 }
2783 int sqlite3_os_end(void){ 2783 int sqlite3_os_end(void){
2784 return SQLITE_OK; 2784 return SQLITE_OK;
2785 } 2785 }
2786 2786
2787 void chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE han dle) {
2788 winFile* winSQLite3File = (winFile*)file;
2789 memset(file, 0, sizeof(*file));
2790 winSQLite3File->pMethod = &winIoMethod;
2791 winSQLite3File->h = handle;
2792 }
2793
2794 #endif /* SQLITE_OS_WIN */ 2787 #endif /* SQLITE_OS_WIN */
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/src/os_unix.c ('k') | third_party/sqlite/sqlite-src-3070603/src/pager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698