зеркало из https://github.com/mozilla/gecko-dev.git
Bug 386179 - Stop using private sqlite functions. r=sspitzer
This commit is contained in:
Родитель
cb0ceb026d
Коммит
85aaf21905
|
@ -203,11 +203,4 @@ struct sqlite3OsVtbl {
|
|||
extern struct sqlite3OsVtbl sqlite3Os;
|
||||
#endif /* _SQLITE_OS_C_ */
|
||||
|
||||
|
||||
/* FROM os.h
|
||||
** ---------
|
||||
** This additional API routine is available with redefinable I/O
|
||||
*/
|
||||
struct sqlite3OsVtbl *sqlite3_os_switch(void);
|
||||
|
||||
} // extern "C"
|
||||
|
|
|
@ -503,7 +503,7 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(AsyncWriteThread, nsIRunnable)
|
|||
nsresult
|
||||
mozStorageService::InitStorageAsyncIO()
|
||||
{
|
||||
sqlite3OsVtbl* vtable = sqlite3_os_switch();
|
||||
sqlite3OsVtbl* vtable = &sqlite3Os;
|
||||
|
||||
sqliteOrigOpenReadWrite = vtable->xOpenReadWrite;
|
||||
sqliteOrigOpenReadOnly = vtable->xOpenReadOnly;
|
||||
|
|
Загрузка…
Ссылка в новой задаче