Set SQLITE_DETERMINISTIC if undefined

This commit is contained in:
Zbigniew Mandziejewicz 2016-04-22 16:20:04 +08:00
parent 467f50b0c0
commit 3ebb821e65
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ package sqlite3
# define SQLITE_OPEN_FULLMUTEX 0 # define SQLITE_OPEN_FULLMUTEX 0
#endif #endif
#ifndef SQLITE_DETERMINISTIC
# define SQLITE_DETERMINISTIC 0
#endif
static int static int
_sqlite3_open_v2(const char *filename, sqlite3 **ppDb, int flags, const char *zVfs) { _sqlite3_open_v2(const char *filename, sqlite3 **ppDb, int flags, const char *zVfs) {
#ifdef SQLITE_OPEN_URI #ifdef SQLITE_OPEN_URI