mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Improved Hamming bit-distance between the SQLITE_STATE constants.
FossilOrigin-Name: 5100b0456bc91f11e4a0bcf0d426ae4d8328cd9341ee2f9c83d0fa9f73047a83
This commit is contained in:
@@ -1761,17 +1761,16 @@ struct sqlite3 {
|
||||
*/
|
||||
#define ConstFactorOk(P) ((P)->okConstFactor)
|
||||
|
||||
/*
|
||||
** Possible values for the sqlite3.eOpenState field.
|
||||
** The numbers are obtained at random and have no special meaning, other
|
||||
** than being distinct from one another.
|
||||
/* Possible values for the sqlite3.eOpenState field.
|
||||
** The numbers are randomly selected such that a minimum of three bits must
|
||||
** change to convert any number to another or to zero
|
||||
*/
|
||||
#define SQLITE_STATE_OPEN 0xa0 /* Database is open */
|
||||
#define SQLITE_STATE_CLOSED 0x9f /* Database is closed */
|
||||
#define SQLITE_STATE_SICK 0x4b /* Error and awaiting close */
|
||||
#define SQLITE_STATE_BUSY 0xf0 /* Database currently in use */
|
||||
#define SQLITE_STATE_OPEN 0x3b /* Database is open */
|
||||
#define SQLITE_STATE_CLOSED 0x63 /* Database is closed */
|
||||
#define SQLITE_STATE_SICK 0x77 /* Error and awaiting close */
|
||||
#define SQLITE_STATE_BUSY 0x7d /* Database currently in use */
|
||||
#define SQLITE_STATE_ERROR 0xb5 /* An SQLITE_MISUSE error occurred */
|
||||
#define SQLITE_STATE_ZOMBIE 0x64 /* Close with last statement close */
|
||||
#define SQLITE_STATE_ZOMBIE 0xe5 /* Close with last statement close */
|
||||
|
||||
/*
|
||||
** Each SQL function is defined by an instance of the following
|
||||
|
||||
Reference in New Issue
Block a user