diff options
author | drh <drh@noemail.net> | 2012-06-21 15:51:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2012-06-21 15:51:42 +0000 |
commit | ed68801b202841d67b33c8ce69999ecd659032e8 (patch) | |
tree | 409f6054a53aa2c1f3e8eb90d027dd77cdc77cd7 /src/sqliteInt.h | |
parent | 567520226aac5bef285e488cdd19f321ea415ccf (diff) | |
parent | 4104337270d3183eaa8c88038a8a83602b28e60d (diff) | |
download | sqlite-ed68801b202841d67b33c8ce69999ecd659032e8.tar.gz sqlite-ed68801b202841d67b33c8ce69999ecd659032e8.zip |
Add the sqlite3_close_v2() interface (from the deferred-close branch) that
allows close operations to happen out-of-order in bindings to
garbage-collected langauges.
FossilOrigin-Name: fb8893abeefabe9de44e34dcf4327764481189f5
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index ca409670b..f7f5fd386 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -983,6 +983,7 @@ struct sqlite3 { #define SQLITE_MAGIC_SICK 0x4b771290 /* Error and awaiting close */ #define SQLITE_MAGIC_BUSY 0xf03b7906 /* Database currently in use */ #define SQLITE_MAGIC_ERROR 0xb5357930 /* An SQLITE_MISUSE error occurred */ +#define SQLITE_MAGIC_ZOMBIE 0x64cffc7f /* Close with last statement close */ /* ** Each SQL function is defined by an instance of the following @@ -2844,6 +2845,7 @@ void sqlite3CommitTransaction(Parse*); void sqlite3RollbackTransaction(Parse*); void sqlite3Savepoint(Parse*, int, Token*); void sqlite3CloseSavepoints(sqlite3 *); +void sqlite3LeaveMutexAndCloseZombie(sqlite3*); int sqlite3ExprIsConstant(Expr*); int sqlite3ExprIsConstantNotJoin(Expr*); int sqlite3ExprIsConstantOrFunction(Expr*); |