extralite 2.7.1 → 2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,157 +0,0 @@
1
- module Extralite
2
- SQLITE_STATUS_MEMORY_USED = 0
3
- SQLITE_STATUS_PAGECACHE_USED = 1
4
- SQLITE_STATUS_PAGECACHE_OVERFLOW = 2
5
- SQLITE_STATUS_SCRATCH_USED = 3 # NOT USED
6
- SQLITE_STATUS_SCRATCH_OVERFLOW = 4 # NOT USED
7
- SQLITE_STATUS_MALLOC_SIZE = 5
8
- SQLITE_STATUS_PARSER_STACK = 6
9
- SQLITE_STATUS_PAGECACHE_SIZE = 7
10
- SQLITE_STATUS_SCRATCH_SIZE = 8 # NOT USED
11
- SQLITE_STATUS_MALLOC_COUNT = 9
12
-
13
- SQLITE_DBSTATUS_LOOKASIDE_USED = 0
14
- SQLITE_DBSTATUS_CACHE_USED = 1
15
- SQLITE_DBSTATUS_SCHEMA_USED = 2
16
- SQLITE_DBSTATUS_STMT_USED = 3
17
- SQLITE_DBSTATUS_LOOKASIDE_HIT = 4
18
- SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE = 5
19
- SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL = 6
20
- SQLITE_DBSTATUS_CACHE_HIT = 7
21
- SQLITE_DBSTATUS_CACHE_MISS = 8
22
- SQLITE_DBSTATUS_CACHE_WRITE = 9
23
- SQLITE_DBSTATUS_DEFERRED_FKS = 10
24
- SQLITE_DBSTATUS_CACHE_USED_SHARED = 11
25
- SQLITE_DBSTATUS_CACHE_SPILL = 12
26
-
27
- SQLITE_STMTSTATUS_FULLSCAN_STEP = 1
28
- SQLITE_STMTSTATUS_SORT = 2
29
- SQLITE_STMTSTATUS_AUTOINDEX = 3
30
- SQLITE_STMTSTATUS_VM_STEP = 4
31
- SQLITE_STMTSTATUS_REPREPARE = 5
32
- SQLITE_STMTSTATUS_RUN = 6
33
- SQLITE_STMTSTATUS_FILTER_MISS = 7
34
- SQLITE_STMTSTATUS_FILTER_HIT = 8
35
- SQLITE_STMTSTATUS_MEMUSED = 99
36
-
37
- SQLITE_LIMIT_LENGTH = 0
38
- SQLITE_LIMIT_SQL_LENGTH = 1
39
- SQLITE_LIMIT_COLUMN = 2
40
- SQLITE_LIMIT_EXPR_DEPTH = 3
41
- SQLITE_LIMIT_COMPOUND_SELECT = 4
42
- SQLITE_LIMIT_VDBE_OP = 5
43
- SQLITE_LIMIT_FUNCTION_ARG = 6
44
- SQLITE_LIMIT_ATTACHED = 7
45
- SQLITE_LIMIT_LIKE_PATTERN_LENGTH = 8
46
- SQLITE_LIMIT_VARIABLE_NUMBER = 9
47
- SQLITE_LIMIT_TRIGGER_DEPTH = 10
48
- SQLITE_LIMIT_WORKER_THREADS = 11
49
-
50
- SQLITE_OK = 0
51
- SQLITE_ERROR = 1
52
- SQLITE_INTERNAL = 2
53
- SQLITE_PERM = 3
54
- SQLITE_ABORT = 4
55
- SQLITE_BUSY = 5
56
- SQLITE_LOCKED = 6
57
- SQLITE_NOMEM = 7
58
- SQLITE_READONLY = 8
59
- SQLITE_INTERRUPT = 9
60
- SQLITE_IOERR = 10
61
- SQLITE_CORRUPT = 11
62
- SQLITE_NOTFOUND = 12
63
- SQLITE_FULL = 13
64
- SQLITE_CANTOPEN = 14
65
- SQLITE_PROTOCOL = 15
66
- SQLITE_EMPTY = 16
67
- SQLITE_SCHEMA = 17
68
- SQLITE_TOOBIG = 18
69
- SQLITE_CONSTRAINT = 19
70
- SQLITE_MISMATCH = 20
71
- SQLITE_MISUSE = 21
72
- SQLITE_NOLFS = 22
73
- SQLITE_AUTH = 23
74
- SQLITE_FORMAT = 24
75
- SQLITE_RANGE = 25
76
- SQLITE_NOTADB = 26
77
- SQLITE_NOTICE = 27
78
- SQLITE_WARNING = 28
79
- SQLITE_ROW = 100
80
- SQLITE_DONE = 101
81
-
82
- SQLITE_ERROR_MISSING_COLLSEQ = (SQLITE_ERROR | (1<<8))
83
- SQLITE_ERROR_RETRY = (SQLITE_ERROR | (2<<8))
84
- SQLITE_ERROR_SNAPSHOT = (SQLITE_ERROR | (3<<8))
85
- SQLITE_IOERR_READ = (SQLITE_IOERR | (1<<8))
86
- SQLITE_IOERR_SHORT_READ = (SQLITE_IOERR | (2<<8))
87
- SQLITE_IOERR_WRITE = (SQLITE_IOERR | (3<<8))
88
- SQLITE_IOERR_FSYNC = (SQLITE_IOERR | (4<<8))
89
- SQLITE_IOERR_DIR_FSYNC = (SQLITE_IOERR | (5<<8))
90
- SQLITE_IOERR_TRUNCATE = (SQLITE_IOERR | (6<<8))
91
- SQLITE_IOERR_FSTAT = (SQLITE_IOERR | (7<<8))
92
- SQLITE_IOERR_UNLOCK = (SQLITE_IOERR | (8<<8))
93
- SQLITE_IOERR_RDLOCK = (SQLITE_IOERR | (9<<8))
94
- SQLITE_IOERR_DELETE = (SQLITE_IOERR | (10<<8))
95
- SQLITE_IOERR_BLOCKED = (SQLITE_IOERR | (11<<8))
96
- SQLITE_IOERR_NOMEM = (SQLITE_IOERR | (12<<8))
97
- SQLITE_IOERR_ACCESS = (SQLITE_IOERR | (13<<8))
98
- SQLITE_IOERR_CHECKRESERVEDLOCK = (SQLITE_IOERR | (14<<8))
99
- SQLITE_IOERR_LOCK = (SQLITE_IOERR | (15<<8))
100
- SQLITE_IOERR_CLOSE = (SQLITE_IOERR | (16<<8))
101
- SQLITE_IOERR_DIR_CLOSE = (SQLITE_IOERR | (17<<8))
102
- SQLITE_IOERR_SHMOPEN = (SQLITE_IOERR | (18<<8))
103
- SQLITE_IOERR_SHMSIZE = (SQLITE_IOERR | (19<<8))
104
- SQLITE_IOERR_SHMLOCK = (SQLITE_IOERR | (20<<8))
105
- SQLITE_IOERR_SHMMAP = (SQLITE_IOERR | (21<<8))
106
- SQLITE_IOERR_SEEK = (SQLITE_IOERR | (22<<8))
107
- SQLITE_IOERR_DELETE_NOENT = (SQLITE_IOERR | (23<<8))
108
- SQLITE_IOERR_MMAP = (SQLITE_IOERR | (24<<8))
109
- SQLITE_IOERR_GETTEMPPATH = (SQLITE_IOERR | (25<<8))
110
- SQLITE_IOERR_CONVPATH = (SQLITE_IOERR | (26<<8))
111
- SQLITE_IOERR_VNODE = (SQLITE_IOERR | (27<<8))
112
- SQLITE_IOERR_AUTH = (SQLITE_IOERR | (28<<8))
113
- SQLITE_IOERR_BEGIN_ATOMIC = (SQLITE_IOERR | (29<<8))
114
- SQLITE_IOERR_COMMIT_ATOMIC = (SQLITE_IOERR | (30<<8))
115
- SQLITE_IOERR_ROLLBACK_ATOMIC = (SQLITE_IOERR | (31<<8))
116
- SQLITE_IOERR_DATA = (SQLITE_IOERR | (32<<8))
117
- SQLITE_IOERR_CORRUPTFS = (SQLITE_IOERR | (33<<8))
118
- SQLITE_LOCKED_SHAREDCACHE = (SQLITE_LOCKED | (1<<8))
119
- SQLITE_LOCKED_VTAB = (SQLITE_LOCKED | (2<<8))
120
- SQLITE_BUSY_RECOVERY = (SQLITE_BUSY | (1<<8))
121
- SQLITE_BUSY_SNAPSHOT = (SQLITE_BUSY | (2<<8))
122
- SQLITE_BUSY_TIMEOUT = (SQLITE_BUSY | (3<<8))
123
- SQLITE_CANTOPEN_NOTEMPDIR = (SQLITE_CANTOPEN | (1<<8))
124
- SQLITE_CANTOPEN_ISDIR = (SQLITE_CANTOPEN | (2<<8))
125
- SQLITE_CANTOPEN_FULLPATH = (SQLITE_CANTOPEN | (3<<8))
126
- SQLITE_CANTOPEN_CONVPATH = (SQLITE_CANTOPEN | (4<<8))
127
- SQLITE_CANTOPEN_DIRTYWAL = (SQLITE_CANTOPEN | (5<<8))
128
- SQLITE_CANTOPEN_SYMLINK = (SQLITE_CANTOPEN | (6<<8))
129
- SQLITE_CORRUPT_VTAB = (SQLITE_CORRUPT | (1<<8))
130
- SQLITE_CORRUPT_SEQUENCE = (SQLITE_CORRUPT | (2<<8))
131
- SQLITE_CORRUPT_INDEX = (SQLITE_CORRUPT | (3<<8))
132
- SQLITE_READONLY_RECOVERY = (SQLITE_READONLY | (1<<8))
133
- SQLITE_READONLY_CANTLOCK = (SQLITE_READONLY | (2<<8))
134
- SQLITE_READONLY_ROLLBACK = (SQLITE_READONLY | (3<<8))
135
- SQLITE_READONLY_DBMOVED = (SQLITE_READONLY | (4<<8))
136
- SQLITE_READONLY_CANTINIT = (SQLITE_READONLY | (5<<8))
137
- SQLITE_READONLY_DIRECTORY = (SQLITE_READONLY | (6<<8))
138
- SQLITE_ABORT_ROLLBACK = (SQLITE_ABORT | (2<<8))
139
- SQLITE_CONSTRAINT_CHECK = (SQLITE_CONSTRAINT | (1<<8))
140
- SQLITE_CONSTRAINT_COMMITHOOK = (SQLITE_CONSTRAINT | (2<<8))
141
- SQLITE_CONSTRAINT_FOREIGNKEY = (SQLITE_CONSTRAINT | (3<<8))
142
- SQLITE_CONSTRAINT_FUNCTION = (SQLITE_CONSTRAINT | (4<<8))
143
- SQLITE_CONSTRAINT_NOTNULL = (SQLITE_CONSTRAINT | (5<<8))
144
- SQLITE_CONSTRAINT_PRIMARYKEY = (SQLITE_CONSTRAINT | (6<<8))
145
- SQLITE_CONSTRAINT_TRIGGER = (SQLITE_CONSTRAINT | (7<<8))
146
- SQLITE_CONSTRAINT_UNIQUE = (SQLITE_CONSTRAINT | (8<<8))
147
- SQLITE_CONSTRAINT_VTAB = (SQLITE_CONSTRAINT | (9<<8))
148
- SQLITE_CONSTRAINT_ROWID = (SQLITE_CONSTRAINT |(10<<8))
149
- SQLITE_CONSTRAINT_PINNED = (SQLITE_CONSTRAINT |(11<<8))
150
- SQLITE_CONSTRAINT_DATATYPE = (SQLITE_CONSTRAINT |(12<<8))
151
- SQLITE_NOTICE_RECOVER_WAL = (SQLITE_NOTICE | (1<<8))
152
- SQLITE_NOTICE_RECOVER_ROLLBACK = (SQLITE_NOTICE | (2<<8))
153
- SQLITE_WARNING_AUTOINDEX = (SQLITE_WARNING | (1<<8))
154
- SQLITE_AUTH_USER = (SQLITE_AUTH | (1<<8))
155
- SQLITE_OK_LOAD_PERMANENTLY = (SQLITE_OK | (1<<8))
156
- SQLITE_OK_SYMLINK = (SQLITE_OK | (2<<8))
157
- end