зеркало из https://github.com/mozilla/pjs.git
Bug 386179 - Stop using private sqlite functions. r=sspitzer
This commit is contained in:
Родитель
a1b1ff7a53
Коммит
fc83822292
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче