diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 01:41:44 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 01:41:44 +0000 |
commit | e19b7e8e213bd2d826628bef6f258d92fdc774de (patch) | |
tree | 1c545eb7e02f78a52d54781faa37d4fb80ec8458 /third_party/sqlite/src/os_win.c | |
parent | f9a5964bff26154d7086636685568783a253d9fe (diff) | |
download | chromium_src-e19b7e8e213bd2d826628bef6f258d92fdc774de.zip chromium_src-e19b7e8e213bd2d826628bef6f258d92fdc774de.tar.gz chromium_src-e19b7e8e213bd2d826628bef6f258d92fdc774de.tar.bz2 |
Stubs for DB-related methods in ChromiumBridge. Allows us to compile the Chromium SQLite VFS.BUG=noneTEST=none
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/155391
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/sqlite/src/os_win.c')
-rw-r--r-- | third_party/sqlite/src/os_win.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/sqlite/src/os_win.c b/third_party/sqlite/src/os_win.c index ec30add..f5baabb 100644 --- a/third_party/sqlite/src/os_win.c +++ b/third_party/sqlite/src/os_win.c @@ -1635,4 +1635,11 @@ int sqlite3_os_end(void){ return SQLITE_OK; } +void chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle) { + winFile* winSQLite3File = (winFile*)file; + memset(file, 0, sizeof(*file)); + winSQLite3File->pMethod = &winIoMethod; + winSQLite3File->h = handle; +} + #endif /* SQLITE_OS_WIN */ |