libsql 0.1.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CONTRIBUTING.md +60 -0
- data/HISTORY.md +6 -0
- data/LICENSE +31 -0
- data/Manifest.txt +96 -0
- data/README.md +59 -0
- data/Rakefile +28 -0
- data/TODO.md +57 -0
- data/examples/a.rb +9 -0
- data/examples/blob.rb +106 -0
- data/examples/define_aggregate.rb +75 -0
- data/examples/define_function.rb +104 -0
- data/examples/fts5.rb +152 -0
- data/examples/gem-db.rb +94 -0
- data/examples/schema-info.rb +34 -0
- data/ext/libsql/c/extconf.rb +86 -0
- data/ext/libsql/c/gen_constants.rb +353 -0
- data/ext/libsql/c/libsql_blob.c +240 -0
- data/ext/libsql/c/libsql_constants.c +1518 -0
- data/ext/libsql/c/libsql_database.c +1188 -0
- data/ext/libsql/c/libsql_ext.c +383 -0
- data/ext/libsql/c/libsql_ext.h +149 -0
- data/ext/libsql/c/libsql_statement.c +649 -0
- data/ext/libsql/c/notes.txt +134 -0
- data/ext/libsql/c/sqlite3.c +247030 -0
- data/ext/libsql/c/sqlite3.h +13436 -0
- data/lib/libsql/aggregate.rb +73 -0
- data/lib/libsql/blob.rb +186 -0
- data/lib/libsql/boolean.rb +42 -0
- data/lib/libsql/busy_timeout.rb +47 -0
- data/lib/libsql/column.rb +99 -0
- data/lib/libsql/csv_table_importer.rb +75 -0
- data/lib/libsql/database.rb +933 -0
- data/lib/libsql/function.rb +61 -0
- data/lib/libsql/index.rb +43 -0
- data/lib/libsql/libsql_ext.so +0 -0
- data/lib/libsql/memory_database.rb +15 -0
- data/lib/libsql/paths.rb +80 -0
- data/lib/libsql/profile_tap.rb +131 -0
- data/lib/libsql/progress_handler.rb +21 -0
- data/lib/libsql/schema.rb +225 -0
- data/lib/libsql/sqlite3/constants.rb +95 -0
- data/lib/libsql/sqlite3/database/function.rb +48 -0
- data/lib/libsql/sqlite3/database/status.rb +68 -0
- data/lib/libsql/sqlite3/libsql_version.rb +32 -0
- data/lib/libsql/sqlite3/status.rb +60 -0
- data/lib/libsql/sqlite3/version.rb +55 -0
- data/lib/libsql/sqlite3.rb +7 -0
- data/lib/libsql/statement.rb +421 -0
- data/lib/libsql/table.rb +91 -0
- data/lib/libsql/taps/console.rb +27 -0
- data/lib/libsql/taps/io.rb +74 -0
- data/lib/libsql/taps.rb +2 -0
- data/lib/libsql/trace_tap.rb +35 -0
- data/lib/libsql/type_map.rb +63 -0
- data/lib/libsql/type_maps/default_map.rb +166 -0
- data/lib/libsql/type_maps/storage_map.rb +38 -0
- data/lib/libsql/type_maps/text_map.rb +21 -0
- data/lib/libsql/version.rb +8 -0
- data/lib/libsql/view.rb +26 -0
- data/lib/libsql-ruby.rb +1 -0
- data/lib/libsql.rb +51 -0
- data/spec/aggregate_spec.rb +158 -0
- data/spec/blob_spec.rb +78 -0
- data/spec/boolean_spec.rb +24 -0
- data/spec/busy_handler.rb +157 -0
- data/spec/data/iso-3166-country.txt +242 -0
- data/spec/data/iso-3166-schema.sql +22 -0
- data/spec/data/iso-3166-subcountry.txt +3995 -0
- data/spec/data/make-iso-db.sh +12 -0
- data/spec/database_spec.rb +505 -0
- data/spec/default_map_spec.rb +92 -0
- data/spec/function_spec.rb +78 -0
- data/spec/integeration_spec.rb +97 -0
- data/spec/iso_3166_database.rb +58 -0
- data/spec/json_spec.rb +24 -0
- data/spec/libsql_spec.rb +4 -0
- data/spec/paths_spec.rb +28 -0
- data/spec/progress_handler_spec.rb +91 -0
- data/spec/rtree_spec.rb +66 -0
- data/spec/schema_spec.rb +131 -0
- data/spec/spec_helper.rb +48 -0
- data/spec/sqlite3/constants_spec.rb +108 -0
- data/spec/sqlite3/database_status_spec.rb +36 -0
- data/spec/sqlite3/libsql_version_spec.rb +16 -0
- data/spec/sqlite3/status_spec.rb +22 -0
- data/spec/sqlite3/version_spec.rb +28 -0
- data/spec/sqlite3_spec.rb +53 -0
- data/spec/statement_spec.rb +168 -0
- data/spec/storage_map_spec.rb +38 -0
- data/spec/tap_spec.rb +57 -0
- data/spec/text_map_spec.rb +20 -0
- data/spec/type_map_spec.rb +14 -0
- data/spec/version_spec.rb +8 -0
- data/tasks/custom.rake +134 -0
- data/tasks/default.rake +257 -0
- data/tasks/extension.rake +29 -0
- data/tasks/this.rb +208 -0
- metadata +328 -0
@@ -0,0 +1,1518 @@
|
|
1
|
+
/* Generated by gen_constants.rb -- do not edit */
|
2
|
+
|
3
|
+
#include "libsql_ext.h"
|
4
|
+
/**
|
5
|
+
* Document-class: ::Libsql::SQLite3::Constants
|
6
|
+
*
|
7
|
+
* class holding constants in the sqlite extension
|
8
|
+
*/
|
9
|
+
void Init_libsql_ext_constants( )
|
10
|
+
{
|
11
|
+
|
12
|
+
VALUE ma = rb_define_module("Libsql");
|
13
|
+
VALUE mas = rb_define_module_under(ma, "SQLite3");
|
14
|
+
|
15
|
+
/*
|
16
|
+
* module encapsulating all the SQLite C extension constants
|
17
|
+
*/
|
18
|
+
VALUE mC = rb_define_module_under( mas, "Constants");
|
19
|
+
/**
|
20
|
+
* module encapsulating the SQLite3 C extension constants for Access
|
21
|
+
*/
|
22
|
+
VALUE mC_Access = rb_define_module_under(mC, "Access");
|
23
|
+
|
24
|
+
/**
|
25
|
+
* module encapsulating the SQLite3 C extension constants for Authorizer
|
26
|
+
*/
|
27
|
+
VALUE mC_Authorizer = rb_define_module_under(mC, "Authorizer");
|
28
|
+
|
29
|
+
/**
|
30
|
+
* module encapsulating the SQLite3 C extension constants for Changeset
|
31
|
+
*/
|
32
|
+
VALUE mC_Changeset = rb_define_module_under(mC, "Changeset");
|
33
|
+
|
34
|
+
/**
|
35
|
+
* module encapsulating the SQLite3 C extension constants for ChangesetApply
|
36
|
+
*/
|
37
|
+
VALUE mC_ChangesetApply = rb_define_module_under(mC, "ChangesetApply");
|
38
|
+
|
39
|
+
/**
|
40
|
+
* module encapsulating the SQLite3 C extension constants for ChangesetStart
|
41
|
+
*/
|
42
|
+
VALUE mC_ChangesetStart = rb_define_module_under(mC, "ChangesetStart");
|
43
|
+
|
44
|
+
/**
|
45
|
+
* module encapsulating the SQLite3 C extension constants for Checkpoint
|
46
|
+
*/
|
47
|
+
VALUE mC_Checkpoint = rb_define_module_under(mC, "Checkpoint");
|
48
|
+
|
49
|
+
/**
|
50
|
+
* module encapsulating the SQLite3 C extension constants for Config
|
51
|
+
*/
|
52
|
+
VALUE mC_Config = rb_define_module_under(mC, "Config");
|
53
|
+
|
54
|
+
/**
|
55
|
+
* module encapsulating the SQLite3 C extension constants for Constraint
|
56
|
+
*/
|
57
|
+
VALUE mC_Constraint = rb_define_module_under(mC, "Constraint");
|
58
|
+
|
59
|
+
/**
|
60
|
+
* module encapsulating the SQLite3 C extension constants for DBConfig
|
61
|
+
*/
|
62
|
+
VALUE mC_DBConfig = rb_define_module_under(mC, "DBConfig");
|
63
|
+
|
64
|
+
/**
|
65
|
+
* module encapsulating the SQLite3 C extension constants for DBStatus
|
66
|
+
*/
|
67
|
+
VALUE mC_DBStatus = rb_define_module_under(mC, "DBStatus");
|
68
|
+
|
69
|
+
/**
|
70
|
+
* module encapsulating the SQLite3 C extension constants for DataType
|
71
|
+
*/
|
72
|
+
VALUE mC_DataType = rb_define_module_under(mC, "DataType");
|
73
|
+
|
74
|
+
/**
|
75
|
+
* module encapsulating the SQLite3 C extension constants for Deserialize
|
76
|
+
*/
|
77
|
+
VALUE mC_Deserialize = rb_define_module_under(mC, "Deserialize");
|
78
|
+
|
79
|
+
/**
|
80
|
+
* module encapsulating the SQLite3 C extension constants for FTS5
|
81
|
+
*/
|
82
|
+
VALUE mC_FTS5 = rb_define_module_under(mC, "FTS5");
|
83
|
+
|
84
|
+
/**
|
85
|
+
* module encapsulating the SQLite3 C extension constants for Fcntl
|
86
|
+
*/
|
87
|
+
VALUE mC_Fcntl = rb_define_module_under(mC, "Fcntl");
|
88
|
+
|
89
|
+
/**
|
90
|
+
* module encapsulating the SQLite3 C extension constants for IOCap
|
91
|
+
*/
|
92
|
+
VALUE mC_IOCap = rb_define_module_under(mC, "IOCap");
|
93
|
+
|
94
|
+
/**
|
95
|
+
* module encapsulating the SQLite3 C extension constants for Index
|
96
|
+
*/
|
97
|
+
VALUE mC_Index = rb_define_module_under(mC, "Index");
|
98
|
+
|
99
|
+
/**
|
100
|
+
* module encapsulating the SQLite3 C extension constants for Libsql
|
101
|
+
*/
|
102
|
+
VALUE mC_Libsql = rb_define_module_under(mC, "Libsql");
|
103
|
+
|
104
|
+
/**
|
105
|
+
* module encapsulating the SQLite3 C extension constants for Limit
|
106
|
+
*/
|
107
|
+
VALUE mC_Limit = rb_define_module_under(mC, "Limit");
|
108
|
+
|
109
|
+
/**
|
110
|
+
* module encapsulating the SQLite3 C extension constants for Lock
|
111
|
+
*/
|
112
|
+
VALUE mC_Lock = rb_define_module_under(mC, "Lock");
|
113
|
+
|
114
|
+
/**
|
115
|
+
* module encapsulating the SQLite3 C extension constants for Mutex
|
116
|
+
*/
|
117
|
+
VALUE mC_Mutex = rb_define_module_under(mC, "Mutex");
|
118
|
+
|
119
|
+
/**
|
120
|
+
* module encapsulating the SQLite3 C extension constants for Notice
|
121
|
+
*/
|
122
|
+
VALUE mC_Notice = rb_define_module_under(mC, "Notice");
|
123
|
+
|
124
|
+
/**
|
125
|
+
* module encapsulating the SQLite3 C extension constants for Open
|
126
|
+
*/
|
127
|
+
VALUE mC_Open = rb_define_module_under(mC, "Open");
|
128
|
+
|
129
|
+
/**
|
130
|
+
* module encapsulating the SQLite3 C extension constants for Prepare
|
131
|
+
*/
|
132
|
+
VALUE mC_Prepare = rb_define_module_under(mC, "Prepare");
|
133
|
+
|
134
|
+
/**
|
135
|
+
* module encapsulating the SQLite3 C extension constants for RTree
|
136
|
+
*/
|
137
|
+
VALUE mC_RTree = rb_define_module_under(mC, "RTree");
|
138
|
+
|
139
|
+
/**
|
140
|
+
* module encapsulating the SQLite3 C extension constants for ResultCode
|
141
|
+
*/
|
142
|
+
VALUE mC_ResultCode = rb_define_module_under(mC, "ResultCode");
|
143
|
+
|
144
|
+
/**
|
145
|
+
* module encapsulating the SQLite3 C extension constants for SHM
|
146
|
+
*/
|
147
|
+
VALUE mC_SHM = rb_define_module_under(mC, "SHM");
|
148
|
+
|
149
|
+
/**
|
150
|
+
* module encapsulating the SQLite3 C extension constants for ScanStat
|
151
|
+
*/
|
152
|
+
VALUE mC_ScanStat = rb_define_module_under(mC, "ScanStat");
|
153
|
+
|
154
|
+
/**
|
155
|
+
* module encapsulating the SQLite3 C extension constants for Serialize
|
156
|
+
*/
|
157
|
+
VALUE mC_Serialize = rb_define_module_under(mC, "Serialize");
|
158
|
+
|
159
|
+
/**
|
160
|
+
* module encapsulating the SQLite3 C extension constants for Session
|
161
|
+
*/
|
162
|
+
VALUE mC_Session = rb_define_module_under(mC, "Session");
|
163
|
+
|
164
|
+
/**
|
165
|
+
* module encapsulating the SQLite3 C extension constants for StatementStatus
|
166
|
+
*/
|
167
|
+
VALUE mC_StatementStatus = rb_define_module_under(mC, "StatementStatus");
|
168
|
+
|
169
|
+
/**
|
170
|
+
* module encapsulating the SQLite3 C extension constants for Status
|
171
|
+
*/
|
172
|
+
VALUE mC_Status = rb_define_module_under(mC, "Status");
|
173
|
+
|
174
|
+
/**
|
175
|
+
* module encapsulating the SQLite3 C extension constants for Sync
|
176
|
+
*/
|
177
|
+
VALUE mC_Sync = rb_define_module_under(mC, "Sync");
|
178
|
+
|
179
|
+
/**
|
180
|
+
* module encapsulating the SQLite3 C extension constants for TextEncoding
|
181
|
+
*/
|
182
|
+
VALUE mC_TextEncoding = rb_define_module_under(mC, "TextEncoding");
|
183
|
+
|
184
|
+
/**
|
185
|
+
* module encapsulating the SQLite3 C extension constants for Trace
|
186
|
+
*/
|
187
|
+
VALUE mC_Trace = rb_define_module_under(mC, "Trace");
|
188
|
+
|
189
|
+
/**
|
190
|
+
* module encapsulating the SQLite3 C extension constants for Transaction
|
191
|
+
*/
|
192
|
+
VALUE mC_Transaction = rb_define_module_under(mC, "Transaction");
|
193
|
+
|
194
|
+
/**
|
195
|
+
* module encapsulating the SQLite3 C extension constants for Wal
|
196
|
+
*/
|
197
|
+
VALUE mC_Wal = rb_define_module_under(mC, "Wal");
|
198
|
+
|
199
|
+
/**
|
200
|
+
* module encapsulating the SQLite3 C extension constants for Win32
|
201
|
+
*/
|
202
|
+
VALUE mC_Win32 = rb_define_module_under(mC, "Win32");
|
203
|
+
|
204
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
205
|
+
rb_define_const(mC_Access, "EXISTS", INT2FIX(SQLITE_ACCESS_EXISTS));
|
206
|
+
|
207
|
+
/* 2 -- Unused */
|
208
|
+
rb_define_const(mC_Access, "READ", INT2FIX(SQLITE_ACCESS_READ));
|
209
|
+
|
210
|
+
/* 1 -- Used by PRAGMA temp_store_directory */
|
211
|
+
rb_define_const(mC_Access, "READWRITE", INT2FIX(SQLITE_ACCESS_READWRITE));
|
212
|
+
|
213
|
+
/* 26 -- Database Name Table Name */
|
214
|
+
rb_define_const(mC_Authorizer, "ALTER_TABLE", INT2FIX(SQLITE_ALTER_TABLE));
|
215
|
+
|
216
|
+
/* 28 -- Table Name NULL */
|
217
|
+
rb_define_const(mC_Authorizer, "ANALYZE", INT2FIX(SQLITE_ANALYZE));
|
218
|
+
|
219
|
+
/* 24 -- Filename NULL */
|
220
|
+
rb_define_const(mC_Authorizer, "ATTACH", INT2FIX(SQLITE_ATTACH));
|
221
|
+
|
222
|
+
/* 0 -- No longer used */
|
223
|
+
rb_define_const(mC_Authorizer, "COPY", INT2FIX(SQLITE_COPY));
|
224
|
+
|
225
|
+
/* 1 -- Index Name Table Name */
|
226
|
+
rb_define_const(mC_Authorizer, "CREATE_INDEX", INT2FIX(SQLITE_CREATE_INDEX));
|
227
|
+
|
228
|
+
/* 2 -- Table Name NULL */
|
229
|
+
rb_define_const(mC_Authorizer, "CREATE_TABLE", INT2FIX(SQLITE_CREATE_TABLE));
|
230
|
+
|
231
|
+
/* 3 -- Index Name Table Name */
|
232
|
+
rb_define_const(mC_Authorizer, "CREATE_TEMP_INDEX", INT2FIX(SQLITE_CREATE_TEMP_INDEX));
|
233
|
+
|
234
|
+
/* 4 -- Table Name NULL */
|
235
|
+
rb_define_const(mC_Authorizer, "CREATE_TEMP_TABLE", INT2FIX(SQLITE_CREATE_TEMP_TABLE));
|
236
|
+
|
237
|
+
/* 5 -- Trigger Name Table Name */
|
238
|
+
rb_define_const(mC_Authorizer, "CREATE_TEMP_TRIGGER", INT2FIX(SQLITE_CREATE_TEMP_TRIGGER));
|
239
|
+
|
240
|
+
/* 6 -- View Name NULL */
|
241
|
+
rb_define_const(mC_Authorizer, "CREATE_TEMP_VIEW", INT2FIX(SQLITE_CREATE_TEMP_VIEW));
|
242
|
+
|
243
|
+
/* 7 -- Trigger Name Table Name */
|
244
|
+
rb_define_const(mC_Authorizer, "CREATE_TRIGGER", INT2FIX(SQLITE_CREATE_TRIGGER));
|
245
|
+
|
246
|
+
/* 8 -- View Name NULL */
|
247
|
+
rb_define_const(mC_Authorizer, "CREATE_VIEW", INT2FIX(SQLITE_CREATE_VIEW));
|
248
|
+
|
249
|
+
/* 29 -- Table Name Module Name */
|
250
|
+
rb_define_const(mC_Authorizer, "CREATE_VTABLE", INT2FIX(SQLITE_CREATE_VTABLE));
|
251
|
+
|
252
|
+
/* 9 -- Table Name NULL */
|
253
|
+
rb_define_const(mC_Authorizer, "DELETE", INT2FIX(SQLITE_DELETE));
|
254
|
+
|
255
|
+
/* 1 -- Abort the SQL statement with an error */
|
256
|
+
rb_define_const(mC_Authorizer, "DENY", INT2FIX(SQLITE_DENY));
|
257
|
+
|
258
|
+
/* 25 -- Database Name NULL */
|
259
|
+
rb_define_const(mC_Authorizer, "DETACH", INT2FIX(SQLITE_DETACH));
|
260
|
+
|
261
|
+
/* 10 -- Index Name Table Name */
|
262
|
+
rb_define_const(mC_Authorizer, "DROP_INDEX", INT2FIX(SQLITE_DROP_INDEX));
|
263
|
+
|
264
|
+
/* 11 -- Table Name NULL */
|
265
|
+
rb_define_const(mC_Authorizer, "DROP_TABLE", INT2FIX(SQLITE_DROP_TABLE));
|
266
|
+
|
267
|
+
/* 12 -- Index Name Table Name */
|
268
|
+
rb_define_const(mC_Authorizer, "DROP_TEMP_INDEX", INT2FIX(SQLITE_DROP_TEMP_INDEX));
|
269
|
+
|
270
|
+
/* 13 -- Table Name NULL */
|
271
|
+
rb_define_const(mC_Authorizer, "DROP_TEMP_TABLE", INT2FIX(SQLITE_DROP_TEMP_TABLE));
|
272
|
+
|
273
|
+
/* 14 -- Trigger Name Table Name */
|
274
|
+
rb_define_const(mC_Authorizer, "DROP_TEMP_TRIGGER", INT2FIX(SQLITE_DROP_TEMP_TRIGGER));
|
275
|
+
|
276
|
+
/* 15 -- View Name NULL */
|
277
|
+
rb_define_const(mC_Authorizer, "DROP_TEMP_VIEW", INT2FIX(SQLITE_DROP_TEMP_VIEW));
|
278
|
+
|
279
|
+
/* 16 -- Trigger Name Table Name */
|
280
|
+
rb_define_const(mC_Authorizer, "DROP_TRIGGER", INT2FIX(SQLITE_DROP_TRIGGER));
|
281
|
+
|
282
|
+
/* 17 -- View Name NULL */
|
283
|
+
rb_define_const(mC_Authorizer, "DROP_VIEW", INT2FIX(SQLITE_DROP_VIEW));
|
284
|
+
|
285
|
+
/* 30 -- Table Name Module Name */
|
286
|
+
rb_define_const(mC_Authorizer, "DROP_VTABLE", INT2FIX(SQLITE_DROP_VTABLE));
|
287
|
+
|
288
|
+
/* 31 -- NULL Function Name */
|
289
|
+
rb_define_const(mC_Authorizer, "FUNCTION", INT2FIX(SQLITE_FUNCTION));
|
290
|
+
|
291
|
+
/* 2 -- Don't allow access, but don't generate an error */
|
292
|
+
rb_define_const(mC_Authorizer, "IGNORE", INT2FIX(SQLITE_IGNORE));
|
293
|
+
|
294
|
+
/* 18 -- Table Name NULL */
|
295
|
+
rb_define_const(mC_Authorizer, "INSERT", INT2FIX(SQLITE_INSERT));
|
296
|
+
|
297
|
+
/* 19 -- Pragma Name 1st arg or NULL */
|
298
|
+
rb_define_const(mC_Authorizer, "PRAGMA", INT2FIX(SQLITE_PRAGMA));
|
299
|
+
|
300
|
+
/* 20 -- Table Name Column Name */
|
301
|
+
rb_define_const(mC_Authorizer, "READ", INT2FIX(SQLITE_READ));
|
302
|
+
|
303
|
+
/* 33 -- NULL NULL */
|
304
|
+
rb_define_const(mC_Authorizer, "RECURSIVE", INT2FIX(SQLITE_RECURSIVE));
|
305
|
+
|
306
|
+
/* 27 -- Index Name NULL */
|
307
|
+
rb_define_const(mC_Authorizer, "REINDEX", INT2FIX(SQLITE_REINDEX));
|
308
|
+
|
309
|
+
/* 32 -- Operation Savepoint Name */
|
310
|
+
rb_define_const(mC_Authorizer, "SAVEPOINT", INT2FIX(SQLITE_SAVEPOINT));
|
311
|
+
|
312
|
+
/* 21 -- NULL NULL */
|
313
|
+
rb_define_const(mC_Authorizer, "SELECT", INT2FIX(SQLITE_SELECT));
|
314
|
+
|
315
|
+
/* 22 -- Operation NULL */
|
316
|
+
rb_define_const(mC_Authorizer, "TRANSACTION", INT2FIX(SQLITE_TRANSACTION));
|
317
|
+
|
318
|
+
/* 23 -- Table Name Column Name */
|
319
|
+
rb_define_const(mC_Authorizer, "UPDATE", INT2FIX(SQLITE_UPDATE));
|
320
|
+
|
321
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
322
|
+
rb_define_const(mC_Changeset, "ABORT", INT2FIX(SQLITE_CHANGESET_ABORT));
|
323
|
+
|
324
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
325
|
+
rb_define_const(mC_Changeset, "CONFLICT", INT2FIX(SQLITE_CHANGESET_CONFLICT));
|
326
|
+
|
327
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
328
|
+
rb_define_const(mC_Changeset, "CONSTRAINT", INT2FIX(SQLITE_CHANGESET_CONSTRAINT));
|
329
|
+
|
330
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
331
|
+
rb_define_const(mC_Changeset, "DATA", INT2FIX(SQLITE_CHANGESET_DATA));
|
332
|
+
|
333
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
334
|
+
rb_define_const(mC_Changeset, "FOREIGN_KEY", INT2FIX(SQLITE_CHANGESET_FOREIGN_KEY));
|
335
|
+
|
336
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
337
|
+
rb_define_const(mC_Changeset, "NOTFOUND", INT2FIX(SQLITE_CHANGESET_NOTFOUND));
|
338
|
+
|
339
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
340
|
+
rb_define_const(mC_Changeset, "OMIT", INT2FIX(SQLITE_CHANGESET_OMIT));
|
341
|
+
|
342
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
343
|
+
rb_define_const(mC_Changeset, "REPLACE", INT2FIX(SQLITE_CHANGESET_REPLACE));
|
344
|
+
|
345
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
346
|
+
rb_define_const(mC_ChangesetApply, "IGNORENOOP", INT2FIX(SQLITE_CHANGESETAPPLY_IGNORENOOP));
|
347
|
+
|
348
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
349
|
+
rb_define_const(mC_ChangesetApply, "INVERT", INT2FIX(SQLITE_CHANGESETAPPLY_INVERT));
|
350
|
+
|
351
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
352
|
+
rb_define_const(mC_ChangesetApply, "NOSAVEPOINT", INT2FIX(SQLITE_CHANGESETAPPLY_NOSAVEPOINT));
|
353
|
+
|
354
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
355
|
+
rb_define_const(mC_ChangesetStart, "INVERT", INT2FIX(SQLITE_CHANGESETSTART_INVERT));
|
356
|
+
|
357
|
+
/* 1 -- Wait for writers, then checkpoint */
|
358
|
+
rb_define_const(mC_Checkpoint, "FULL", INT2FIX(SQLITE_CHECKPOINT_FULL));
|
359
|
+
|
360
|
+
/* 0 -- Do as much as possible w/o blocking */
|
361
|
+
rb_define_const(mC_Checkpoint, "PASSIVE", INT2FIX(SQLITE_CHECKPOINT_PASSIVE));
|
362
|
+
|
363
|
+
/* 2 -- Like FULL but wait for readers */
|
364
|
+
rb_define_const(mC_Checkpoint, "RESTART", INT2FIX(SQLITE_CHECKPOINT_RESTART));
|
365
|
+
|
366
|
+
/* 3 -- Like RESTART but also truncate WAL */
|
367
|
+
rb_define_const(mC_Checkpoint, "TRUNCATE", INT2FIX(SQLITE_CHECKPOINT_TRUNCATE));
|
368
|
+
|
369
|
+
/* 20 -- int */
|
370
|
+
rb_define_const(mC_Config, "COVERING_INDEX_SCAN", INT2FIX(SQLITE_CONFIG_COVERING_INDEX_SCAN));
|
371
|
+
|
372
|
+
/* 5 -- sqlite3_mem_methods* */
|
373
|
+
rb_define_const(mC_Config, "GETMALLOC", INT2FIX(SQLITE_CONFIG_GETMALLOC));
|
374
|
+
|
375
|
+
/* 11 -- sqlite3_mutex_methods* */
|
376
|
+
rb_define_const(mC_Config, "GETMUTEX", INT2FIX(SQLITE_CONFIG_GETMUTEX));
|
377
|
+
|
378
|
+
/* 15 -- no-op */
|
379
|
+
rb_define_const(mC_Config, "GETPCACHE", INT2FIX(SQLITE_CONFIG_GETPCACHE));
|
380
|
+
|
381
|
+
/* 19 -- sqlite3_pcache_methods2* */
|
382
|
+
rb_define_const(mC_Config, "GETPCACHE2", INT2FIX(SQLITE_CONFIG_GETPCACHE2));
|
383
|
+
|
384
|
+
/* 8 -- void*, int nByte, int min */
|
385
|
+
rb_define_const(mC_Config, "HEAP", INT2FIX(SQLITE_CONFIG_HEAP));
|
386
|
+
|
387
|
+
/* 16 -- xFunc, void* */
|
388
|
+
rb_define_const(mC_Config, "LOG", INT2FIX(SQLITE_CONFIG_LOG));
|
389
|
+
|
390
|
+
/* 13 -- int int */
|
391
|
+
rb_define_const(mC_Config, "LOOKASIDE", INT2FIX(SQLITE_CONFIG_LOOKASIDE));
|
392
|
+
|
393
|
+
/* 4 -- sqlite3_mem_methods* */
|
394
|
+
rb_define_const(mC_Config, "MALLOC", INT2FIX(SQLITE_CONFIG_MALLOC));
|
395
|
+
|
396
|
+
/* 29 -- sqlite3_int64 */
|
397
|
+
rb_define_const(mC_Config, "MEMDB_MAXSIZE", INT2FIX(SQLITE_CONFIG_MEMDB_MAXSIZE));
|
398
|
+
|
399
|
+
/* 9 -- boolean */
|
400
|
+
rb_define_const(mC_Config, "MEMSTATUS", INT2FIX(SQLITE_CONFIG_MEMSTATUS));
|
401
|
+
|
402
|
+
/* 22 -- sqlite3_int64, sqlite3_int64 */
|
403
|
+
rb_define_const(mC_Config, "MMAP_SIZE", INT2FIX(SQLITE_CONFIG_MMAP_SIZE));
|
404
|
+
|
405
|
+
/* 2 -- nil */
|
406
|
+
rb_define_const(mC_Config, "MULTITHREAD", INT2FIX(SQLITE_CONFIG_MULTITHREAD));
|
407
|
+
|
408
|
+
/* 10 -- sqlite3_mutex_methods* */
|
409
|
+
rb_define_const(mC_Config, "MUTEX", INT2FIX(SQLITE_CONFIG_MUTEX));
|
410
|
+
|
411
|
+
/* 7 -- void*, int sz, int N */
|
412
|
+
rb_define_const(mC_Config, "PAGECACHE", INT2FIX(SQLITE_CONFIG_PAGECACHE));
|
413
|
+
|
414
|
+
/* 14 -- no-op */
|
415
|
+
rb_define_const(mC_Config, "PCACHE", INT2FIX(SQLITE_CONFIG_PCACHE));
|
416
|
+
|
417
|
+
/* 18 -- sqlite3_pcache_methods2* */
|
418
|
+
rb_define_const(mC_Config, "PCACHE2", INT2FIX(SQLITE_CONFIG_PCACHE2));
|
419
|
+
|
420
|
+
/* 24 -- int *psz */
|
421
|
+
rb_define_const(mC_Config, "PCACHE_HDRSZ", INT2FIX(SQLITE_CONFIG_PCACHE_HDRSZ));
|
422
|
+
|
423
|
+
/* 25 -- unsigned int szPma */
|
424
|
+
rb_define_const(mC_Config, "PMASZ", INT2FIX(SQLITE_CONFIG_PMASZ));
|
425
|
+
|
426
|
+
/* 6 -- No longer used */
|
427
|
+
rb_define_const(mC_Config, "SCRATCH", INT2FIX(SQLITE_CONFIG_SCRATCH));
|
428
|
+
|
429
|
+
/* 3 -- nil */
|
430
|
+
rb_define_const(mC_Config, "SERIALIZED", INT2FIX(SQLITE_CONFIG_SERIALIZED));
|
431
|
+
|
432
|
+
/* 1 -- nil */
|
433
|
+
rb_define_const(mC_Config, "SINGLETHREAD", INT2FIX(SQLITE_CONFIG_SINGLETHREAD));
|
434
|
+
|
435
|
+
/* 27 -- boolean */
|
436
|
+
rb_define_const(mC_Config, "SMALL_MALLOC", INT2FIX(SQLITE_CONFIG_SMALL_MALLOC));
|
437
|
+
|
438
|
+
/* 28 -- int nByte */
|
439
|
+
rb_define_const(mC_Config, "SORTERREF_SIZE", INT2FIX(SQLITE_CONFIG_SORTERREF_SIZE));
|
440
|
+
|
441
|
+
/* 21 -- xSqllog, void* */
|
442
|
+
rb_define_const(mC_Config, "SQLLOG", INT2FIX(SQLITE_CONFIG_SQLLOG));
|
443
|
+
|
444
|
+
/* 26 -- int nByte */
|
445
|
+
rb_define_const(mC_Config, "STMTJRNL_SPILL", INT2FIX(SQLITE_CONFIG_STMTJRNL_SPILL));
|
446
|
+
|
447
|
+
/* 17 -- int */
|
448
|
+
rb_define_const(mC_Config, "URI", INT2FIX(SQLITE_CONFIG_URI));
|
449
|
+
|
450
|
+
/* 23 -- int nByte */
|
451
|
+
rb_define_const(mC_Config, "WIN32_HEAPSIZE", INT2FIX(SQLITE_CONFIG_WIN32_HEAPSIZE));
|
452
|
+
|
453
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
454
|
+
rb_define_const(mC_Constraint, "DATATYPE", INT2FIX(SQLITE_CONSTRAINT_DATATYPE));
|
455
|
+
|
456
|
+
/* 1010 -- int int* */
|
457
|
+
rb_define_const(mC_DBConfig, "DEFENSIVE", INT2FIX(SQLITE_DBCONFIG_DEFENSIVE));
|
458
|
+
|
459
|
+
/* 1014 -- int int* */
|
460
|
+
rb_define_const(mC_DBConfig, "DQS_DDL", INT2FIX(SQLITE_DBCONFIG_DQS_DDL));
|
461
|
+
|
462
|
+
/* 1013 -- int int* */
|
463
|
+
rb_define_const(mC_DBConfig, "DQS_DML", INT2FIX(SQLITE_DBCONFIG_DQS_DML));
|
464
|
+
|
465
|
+
/* 1002 -- int int* */
|
466
|
+
rb_define_const(mC_DBConfig, "ENABLE_FKEY", INT2FIX(SQLITE_DBCONFIG_ENABLE_FKEY));
|
467
|
+
|
468
|
+
/* 1004 -- int int* */
|
469
|
+
rb_define_const(mC_DBConfig, "ENABLE_FTS3_TOKENIZER", INT2FIX(SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER));
|
470
|
+
|
471
|
+
/* 1005 -- int int* */
|
472
|
+
rb_define_const(mC_DBConfig, "ENABLE_LOAD_EXTENSION", INT2FIX(SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION));
|
473
|
+
|
474
|
+
/* 1007 -- int int* */
|
475
|
+
rb_define_const(mC_DBConfig, "ENABLE_QPSG", INT2FIX(SQLITE_DBCONFIG_ENABLE_QPSG));
|
476
|
+
|
477
|
+
/* 1003 -- int int* */
|
478
|
+
rb_define_const(mC_DBConfig, "ENABLE_TRIGGER", INT2FIX(SQLITE_DBCONFIG_ENABLE_TRIGGER));
|
479
|
+
|
480
|
+
/* 1015 -- int int* */
|
481
|
+
rb_define_const(mC_DBConfig, "ENABLE_VIEW", INT2FIX(SQLITE_DBCONFIG_ENABLE_VIEW));
|
482
|
+
|
483
|
+
/* 1012 -- int int* */
|
484
|
+
rb_define_const(mC_DBConfig, "LEGACY_ALTER_TABLE", INT2FIX(SQLITE_DBCONFIG_LEGACY_ALTER_TABLE));
|
485
|
+
|
486
|
+
/* 1016 -- int int* */
|
487
|
+
rb_define_const(mC_DBConfig, "LEGACY_FILE_FORMAT", INT2FIX(SQLITE_DBCONFIG_LEGACY_FILE_FORMAT));
|
488
|
+
|
489
|
+
/* 1001 -- void* int int */
|
490
|
+
rb_define_const(mC_DBConfig, "LOOKASIDE", INT2FIX(SQLITE_DBCONFIG_LOOKASIDE));
|
491
|
+
|
492
|
+
/* 1000 -- const char* */
|
493
|
+
rb_define_const(mC_DBConfig, "MAINDBNAME", INT2FIX(SQLITE_DBCONFIG_MAINDBNAME));
|
494
|
+
|
495
|
+
/* 1019 -- Largest DBCONFIG */
|
496
|
+
rb_define_const(mC_DBConfig, "MAX", INT2FIX(SQLITE_DBCONFIG_MAX));
|
497
|
+
|
498
|
+
/* 1006 -- int int* */
|
499
|
+
rb_define_const(mC_DBConfig, "NO_CKPT_ON_CLOSE", INT2FIX(SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE));
|
500
|
+
|
501
|
+
/* 1009 -- int int* */
|
502
|
+
rb_define_const(mC_DBConfig, "RESET_DATABASE", INT2FIX(SQLITE_DBCONFIG_RESET_DATABASE));
|
503
|
+
|
504
|
+
/* 1019 -- int int* */
|
505
|
+
rb_define_const(mC_DBConfig, "REVERSE_SCANORDER", INT2FIX(SQLITE_DBCONFIG_REVERSE_SCANORDER));
|
506
|
+
|
507
|
+
/* 1080 -- int int* */
|
508
|
+
rb_define_const(mC_DBConfig, "STMT_SCANSTATUS", INT2FIX(SQLITE_DBCONFIG_STMT_SCANSTATUS));
|
509
|
+
|
510
|
+
/* 1008 -- int int* */
|
511
|
+
rb_define_const(mC_DBConfig, "TRIGGER_EQP", INT2FIX(SQLITE_DBCONFIG_TRIGGER_EQP));
|
512
|
+
|
513
|
+
/* 1017 -- int int* */
|
514
|
+
rb_define_const(mC_DBConfig, "TRUSTED_SCHEMA", INT2FIX(SQLITE_DBCONFIG_TRUSTED_SCHEMA));
|
515
|
+
|
516
|
+
/* 1011 -- int int* */
|
517
|
+
rb_define_const(mC_DBConfig, "WRITABLE_SCHEMA", INT2FIX(SQLITE_DBCONFIG_WRITABLE_SCHEMA));
|
518
|
+
|
519
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
520
|
+
rb_define_const(mC_DBStatus, "CACHE_HIT", INT2FIX(SQLITE_DBSTATUS_CACHE_HIT));
|
521
|
+
|
522
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
523
|
+
rb_define_const(mC_DBStatus, "CACHE_MISS", INT2FIX(SQLITE_DBSTATUS_CACHE_MISS));
|
524
|
+
|
525
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
526
|
+
rb_define_const(mC_DBStatus, "CACHE_SPILL", INT2FIX(SQLITE_DBSTATUS_CACHE_SPILL));
|
527
|
+
|
528
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
529
|
+
rb_define_const(mC_DBStatus, "CACHE_USED", INT2FIX(SQLITE_DBSTATUS_CACHE_USED));
|
530
|
+
|
531
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
532
|
+
rb_define_const(mC_DBStatus, "CACHE_USED_SHARED", INT2FIX(SQLITE_DBSTATUS_CACHE_USED_SHARED));
|
533
|
+
|
534
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
535
|
+
rb_define_const(mC_DBStatus, "CACHE_WRITE", INT2FIX(SQLITE_DBSTATUS_CACHE_WRITE));
|
536
|
+
|
537
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
538
|
+
rb_define_const(mC_DBStatus, "DEFERRED_FKS", INT2FIX(SQLITE_DBSTATUS_DEFERRED_FKS));
|
539
|
+
|
540
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
541
|
+
rb_define_const(mC_DBStatus, "LOOKASIDE_HIT", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_HIT));
|
542
|
+
|
543
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
544
|
+
rb_define_const(mC_DBStatus, "LOOKASIDE_MISS_FULL", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL));
|
545
|
+
|
546
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
547
|
+
rb_define_const(mC_DBStatus, "LOOKASIDE_MISS_SIZE", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE));
|
548
|
+
|
549
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
550
|
+
rb_define_const(mC_DBStatus, "LOOKASIDE_USED", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_USED));
|
551
|
+
|
552
|
+
/* 12 -- Largest defined DBSTATUS */
|
553
|
+
rb_define_const(mC_DBStatus, "MAX", INT2FIX(SQLITE_DBSTATUS_MAX));
|
554
|
+
|
555
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
556
|
+
rb_define_const(mC_DBStatus, "SCHEMA_USED", INT2FIX(SQLITE_DBSTATUS_SCHEMA_USED));
|
557
|
+
|
558
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
559
|
+
rb_define_const(mC_DBStatus, "STMT_USED", INT2FIX(SQLITE_DBSTATUS_STMT_USED));
|
560
|
+
|
561
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
562
|
+
rb_define_const(mC_DataType, "TEXT", INT2FIX(SQLITE3_TEXT));
|
563
|
+
|
564
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
565
|
+
rb_define_const(mC_DataType, "BLOB", INT2FIX(SQLITE_BLOB));
|
566
|
+
|
567
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
568
|
+
rb_define_const(mC_DataType, "FLOAT", INT2FIX(SQLITE_FLOAT));
|
569
|
+
|
570
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
571
|
+
rb_define_const(mC_DataType, "INTEGER", INT2FIX(SQLITE_INTEGER));
|
572
|
+
|
573
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
574
|
+
rb_define_const(mC_DataType, "NULL", INT2FIX(SQLITE_NULL));
|
575
|
+
|
576
|
+
/* 1 -- Call sqlite3_free() on close */
|
577
|
+
rb_define_const(mC_Deserialize, "FREEONCLOSE", INT2FIX(SQLITE_DESERIALIZE_FREEONCLOSE));
|
578
|
+
|
579
|
+
/* 4 -- Database is read-only */
|
580
|
+
rb_define_const(mC_Deserialize, "READONLY", INT2FIX(SQLITE_DESERIALIZE_READONLY));
|
581
|
+
|
582
|
+
/* 2 -- Resize using sqlite3_realloc64() */
|
583
|
+
rb_define_const(mC_Deserialize, "RESIZEABLE", INT2FIX(SQLITE_DESERIALIZE_RESIZEABLE));
|
584
|
+
|
585
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
586
|
+
rb_define_const(mC_FTS5, "TOKENIZE_AUX", INT2FIX(FTS5_TOKENIZE_AUX));
|
587
|
+
|
588
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
589
|
+
rb_define_const(mC_FTS5, "TOKENIZE_DOCUMENT", INT2FIX(FTS5_TOKENIZE_DOCUMENT));
|
590
|
+
|
591
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
592
|
+
rb_define_const(mC_FTS5, "TOKENIZE_PREFIX", INT2FIX(FTS5_TOKENIZE_PREFIX));
|
593
|
+
|
594
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
595
|
+
rb_define_const(mC_FTS5, "TOKENIZE_QUERY", INT2FIX(FTS5_TOKENIZE_QUERY));
|
596
|
+
|
597
|
+
/* 0x0001 -- Same position as prev. token */
|
598
|
+
rb_define_const(mC_FTS5, "TOKEN_COLOCATED", INT2FIX(FTS5_TOKEN_COLOCATED));
|
599
|
+
|
600
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
601
|
+
rb_define_const(mC_Fcntl, "BEGIN_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_BEGIN_ATOMIC_WRITE));
|
602
|
+
|
603
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
604
|
+
rb_define_const(mC_Fcntl, "BUSYHANDLER", INT2FIX(SQLITE_FCNTL_BUSYHANDLER));
|
605
|
+
|
606
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
607
|
+
rb_define_const(mC_Fcntl, "CHUNK_SIZE", INT2FIX(SQLITE_FCNTL_CHUNK_SIZE));
|
608
|
+
|
609
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
610
|
+
rb_define_const(mC_Fcntl, "CKPT_DONE", INT2FIX(SQLITE_FCNTL_CKPT_DONE));
|
611
|
+
|
612
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
613
|
+
rb_define_const(mC_Fcntl, "CKPT_START", INT2FIX(SQLITE_FCNTL_CKPT_START));
|
614
|
+
|
615
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
616
|
+
rb_define_const(mC_Fcntl, "CKSM_FILE", INT2FIX(SQLITE_FCNTL_CKSM_FILE));
|
617
|
+
|
618
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
619
|
+
rb_define_const(mC_Fcntl, "COMMIT_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_COMMIT_ATOMIC_WRITE));
|
620
|
+
|
621
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
622
|
+
rb_define_const(mC_Fcntl, "COMMIT_PHASETWO", INT2FIX(SQLITE_FCNTL_COMMIT_PHASETWO));
|
623
|
+
|
624
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
625
|
+
rb_define_const(mC_Fcntl, "DATA_VERSION", INT2FIX(SQLITE_FCNTL_DATA_VERSION));
|
626
|
+
|
627
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
628
|
+
rb_define_const(mC_Fcntl, "EXTERNAL_READER", INT2FIX(SQLITE_FCNTL_EXTERNAL_READER));
|
629
|
+
|
630
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
631
|
+
rb_define_const(mC_Fcntl, "FILE_POINTER", INT2FIX(SQLITE_FCNTL_FILE_POINTER));
|
632
|
+
|
633
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
634
|
+
rb_define_const(mC_Fcntl, "GET_LOCKPROXYFILE", INT2FIX(SQLITE_FCNTL_GET_LOCKPROXYFILE));
|
635
|
+
|
636
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
637
|
+
rb_define_const(mC_Fcntl, "HAS_MOVED", INT2FIX(SQLITE_FCNTL_HAS_MOVED));
|
638
|
+
|
639
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
640
|
+
rb_define_const(mC_Fcntl, "JOURNAL_POINTER", INT2FIX(SQLITE_FCNTL_JOURNAL_POINTER));
|
641
|
+
|
642
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
643
|
+
rb_define_const(mC_Fcntl, "LAST_ERRNO", INT2FIX(SQLITE_FCNTL_LAST_ERRNO));
|
644
|
+
|
645
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
646
|
+
rb_define_const(mC_Fcntl, "LOCKSTATE", INT2FIX(SQLITE_FCNTL_LOCKSTATE));
|
647
|
+
|
648
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
649
|
+
rb_define_const(mC_Fcntl, "LOCK_TIMEOUT", INT2FIX(SQLITE_FCNTL_LOCK_TIMEOUT));
|
650
|
+
|
651
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
652
|
+
rb_define_const(mC_Fcntl, "MMAP_SIZE", INT2FIX(SQLITE_FCNTL_MMAP_SIZE));
|
653
|
+
|
654
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
655
|
+
rb_define_const(mC_Fcntl, "OVERWRITE", INT2FIX(SQLITE_FCNTL_OVERWRITE));
|
656
|
+
|
657
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
658
|
+
rb_define_const(mC_Fcntl, "PDB", INT2FIX(SQLITE_FCNTL_PDB));
|
659
|
+
|
660
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
661
|
+
rb_define_const(mC_Fcntl, "PERSIST_WAL", INT2FIX(SQLITE_FCNTL_PERSIST_WAL));
|
662
|
+
|
663
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
664
|
+
rb_define_const(mC_Fcntl, "POWERSAFE_OVERWRITE", INT2FIX(SQLITE_FCNTL_POWERSAFE_OVERWRITE));
|
665
|
+
|
666
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
667
|
+
rb_define_const(mC_Fcntl, "PRAGMA", INT2FIX(SQLITE_FCNTL_PRAGMA));
|
668
|
+
|
669
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
670
|
+
rb_define_const(mC_Fcntl, "RBU", INT2FIX(SQLITE_FCNTL_RBU));
|
671
|
+
|
672
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
673
|
+
rb_define_const(mC_Fcntl, "RESERVE_BYTES", INT2FIX(SQLITE_FCNTL_RESERVE_BYTES));
|
674
|
+
|
675
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
676
|
+
rb_define_const(mC_Fcntl, "RESET_CACHE", INT2FIX(SQLITE_FCNTL_RESET_CACHE));
|
677
|
+
|
678
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
679
|
+
rb_define_const(mC_Fcntl, "ROLLBACK_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE));
|
680
|
+
|
681
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
682
|
+
rb_define_const(mC_Fcntl, "SET_LOCKPROXYFILE", INT2FIX(SQLITE_FCNTL_SET_LOCKPROXYFILE));
|
683
|
+
|
684
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
685
|
+
rb_define_const(mC_Fcntl, "SIZE_HINT", INT2FIX(SQLITE_FCNTL_SIZE_HINT));
|
686
|
+
|
687
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
688
|
+
rb_define_const(mC_Fcntl, "SIZE_LIMIT", INT2FIX(SQLITE_FCNTL_SIZE_LIMIT));
|
689
|
+
|
690
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
691
|
+
rb_define_const(mC_Fcntl, "SYNC", INT2FIX(SQLITE_FCNTL_SYNC));
|
692
|
+
|
693
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
694
|
+
rb_define_const(mC_Fcntl, "SYNC_OMITTED", INT2FIX(SQLITE_FCNTL_SYNC_OMITTED));
|
695
|
+
|
696
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
697
|
+
rb_define_const(mC_Fcntl, "TEMPFILENAME", INT2FIX(SQLITE_FCNTL_TEMPFILENAME));
|
698
|
+
|
699
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
700
|
+
rb_define_const(mC_Fcntl, "TRACE", INT2FIX(SQLITE_FCNTL_TRACE));
|
701
|
+
|
702
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
703
|
+
rb_define_const(mC_Fcntl, "VFSNAME", INT2FIX(SQLITE_FCNTL_VFSNAME));
|
704
|
+
|
705
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
706
|
+
rb_define_const(mC_Fcntl, "VFS_POINTER", INT2FIX(SQLITE_FCNTL_VFS_POINTER));
|
707
|
+
|
708
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
709
|
+
rb_define_const(mC_Fcntl, "WAL_BLOCK", INT2FIX(SQLITE_FCNTL_WAL_BLOCK));
|
710
|
+
|
711
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
712
|
+
rb_define_const(mC_Fcntl, "WAL_METHODS_POINTER", INT2FIX(SQLITE_FCNTL_WAL_METHODS_POINTER));
|
713
|
+
|
714
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
715
|
+
rb_define_const(mC_Fcntl, "WIN32_AV_RETRY", INT2FIX(SQLITE_FCNTL_WIN32_AV_RETRY));
|
716
|
+
|
717
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
718
|
+
rb_define_const(mC_Fcntl, "WIN32_GET_HANDLE", INT2FIX(SQLITE_FCNTL_WIN32_GET_HANDLE));
|
719
|
+
|
720
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
721
|
+
rb_define_const(mC_Fcntl, "WIN32_SET_HANDLE", INT2FIX(SQLITE_FCNTL_WIN32_SET_HANDLE));
|
722
|
+
|
723
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
724
|
+
rb_define_const(mC_Fcntl, "ZIPVFS", INT2FIX(SQLITE_FCNTL_ZIPVFS));
|
725
|
+
|
726
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
727
|
+
rb_define_const(mC_IOCap, "ATOMIC", INT2FIX(SQLITE_IOCAP_ATOMIC));
|
728
|
+
|
729
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
730
|
+
rb_define_const(mC_IOCap, "ATOMIC16K", INT2FIX(SQLITE_IOCAP_ATOMIC16K));
|
731
|
+
|
732
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
733
|
+
rb_define_const(mC_IOCap, "ATOMIC1K", INT2FIX(SQLITE_IOCAP_ATOMIC1K));
|
734
|
+
|
735
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
736
|
+
rb_define_const(mC_IOCap, "ATOMIC2K", INT2FIX(SQLITE_IOCAP_ATOMIC2K));
|
737
|
+
|
738
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
739
|
+
rb_define_const(mC_IOCap, "ATOMIC32K", INT2FIX(SQLITE_IOCAP_ATOMIC32K));
|
740
|
+
|
741
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
742
|
+
rb_define_const(mC_IOCap, "ATOMIC4K", INT2FIX(SQLITE_IOCAP_ATOMIC4K));
|
743
|
+
|
744
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
745
|
+
rb_define_const(mC_IOCap, "ATOMIC512", INT2FIX(SQLITE_IOCAP_ATOMIC512));
|
746
|
+
|
747
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
748
|
+
rb_define_const(mC_IOCap, "ATOMIC64K", INT2FIX(SQLITE_IOCAP_ATOMIC64K));
|
749
|
+
|
750
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
751
|
+
rb_define_const(mC_IOCap, "ATOMIC8K", INT2FIX(SQLITE_IOCAP_ATOMIC8K));
|
752
|
+
|
753
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
754
|
+
rb_define_const(mC_IOCap, "BATCH_ATOMIC", INT2FIX(SQLITE_IOCAP_BATCH_ATOMIC));
|
755
|
+
|
756
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
757
|
+
rb_define_const(mC_IOCap, "IMMUTABLE", INT2FIX(SQLITE_IOCAP_IMMUTABLE));
|
758
|
+
|
759
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
760
|
+
rb_define_const(mC_IOCap, "POWERSAFE_OVERWRITE", INT2FIX(SQLITE_IOCAP_POWERSAFE_OVERWRITE));
|
761
|
+
|
762
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
763
|
+
rb_define_const(mC_IOCap, "SAFE_APPEND", INT2FIX(SQLITE_IOCAP_SAFE_APPEND));
|
764
|
+
|
765
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
766
|
+
rb_define_const(mC_IOCap, "SEQUENTIAL", INT2FIX(SQLITE_IOCAP_SEQUENTIAL));
|
767
|
+
|
768
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
769
|
+
rb_define_const(mC_IOCap, "UNDELETABLE_WHEN_OPEN", INT2FIX(SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN));
|
770
|
+
|
771
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
772
|
+
rb_define_const(mC_Index, "CONSTRAINT_EQ", INT2FIX(SQLITE_INDEX_CONSTRAINT_EQ));
|
773
|
+
|
774
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
775
|
+
rb_define_const(mC_Index, "CONSTRAINT_FUNCTION", INT2FIX(SQLITE_INDEX_CONSTRAINT_FUNCTION));
|
776
|
+
|
777
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
778
|
+
rb_define_const(mC_Index, "CONSTRAINT_GE", INT2FIX(SQLITE_INDEX_CONSTRAINT_GE));
|
779
|
+
|
780
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
781
|
+
rb_define_const(mC_Index, "CONSTRAINT_GLOB", INT2FIX(SQLITE_INDEX_CONSTRAINT_GLOB));
|
782
|
+
|
783
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
784
|
+
rb_define_const(mC_Index, "CONSTRAINT_GT", INT2FIX(SQLITE_INDEX_CONSTRAINT_GT));
|
785
|
+
|
786
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
787
|
+
rb_define_const(mC_Index, "CONSTRAINT_IS", INT2FIX(SQLITE_INDEX_CONSTRAINT_IS));
|
788
|
+
|
789
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
790
|
+
rb_define_const(mC_Index, "CONSTRAINT_ISNOT", INT2FIX(SQLITE_INDEX_CONSTRAINT_ISNOT));
|
791
|
+
|
792
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
793
|
+
rb_define_const(mC_Index, "CONSTRAINT_ISNOTNULL", INT2FIX(SQLITE_INDEX_CONSTRAINT_ISNOTNULL));
|
794
|
+
|
795
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
796
|
+
rb_define_const(mC_Index, "CONSTRAINT_ISNULL", INT2FIX(SQLITE_INDEX_CONSTRAINT_ISNULL));
|
797
|
+
|
798
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
799
|
+
rb_define_const(mC_Index, "CONSTRAINT_LE", INT2FIX(SQLITE_INDEX_CONSTRAINT_LE));
|
800
|
+
|
801
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
802
|
+
rb_define_const(mC_Index, "CONSTRAINT_LIKE", INT2FIX(SQLITE_INDEX_CONSTRAINT_LIKE));
|
803
|
+
|
804
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
805
|
+
rb_define_const(mC_Index, "CONSTRAINT_LIMIT", INT2FIX(SQLITE_INDEX_CONSTRAINT_LIMIT));
|
806
|
+
|
807
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
808
|
+
rb_define_const(mC_Index, "CONSTRAINT_LT", INT2FIX(SQLITE_INDEX_CONSTRAINT_LT));
|
809
|
+
|
810
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
811
|
+
rb_define_const(mC_Index, "CONSTRAINT_MATCH", INT2FIX(SQLITE_INDEX_CONSTRAINT_MATCH));
|
812
|
+
|
813
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
814
|
+
rb_define_const(mC_Index, "CONSTRAINT_NE", INT2FIX(SQLITE_INDEX_CONSTRAINT_NE));
|
815
|
+
|
816
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
817
|
+
rb_define_const(mC_Index, "CONSTRAINT_OFFSET", INT2FIX(SQLITE_INDEX_CONSTRAINT_OFFSET));
|
818
|
+
|
819
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
820
|
+
rb_define_const(mC_Index, "CONSTRAINT_REGEXP", INT2FIX(SQLITE_INDEX_CONSTRAINT_REGEXP));
|
821
|
+
|
822
|
+
/* 1 -- Scan visits at most 1 row */
|
823
|
+
rb_define_const(mC_Index, "SCAN_UNIQUE", INT2FIX(SQLITE_INDEX_SCAN_UNIQUE));
|
824
|
+
|
825
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
826
|
+
rb_define_const(mC_Libsql, "STMTSTATUS_BASE", INT2FIX(LIBSQL_STMTSTATUS_BASE));
|
827
|
+
|
828
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
829
|
+
rb_define_const(mC_Libsql, "STMTSTATUS_ROWS_READ", INT2FIX(LIBSQL_STMTSTATUS_ROWS_READ));
|
830
|
+
|
831
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
832
|
+
rb_define_const(mC_Libsql, "STMTSTATUS_ROWS_WRITTEN", INT2FIX(LIBSQL_STMTSTATUS_ROWS_WRITTEN));
|
833
|
+
|
834
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
835
|
+
rb_define_const(mC_Limit, "ATTACHED", INT2FIX(SQLITE_LIMIT_ATTACHED));
|
836
|
+
|
837
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
838
|
+
rb_define_const(mC_Limit, "COLUMN", INT2FIX(SQLITE_LIMIT_COLUMN));
|
839
|
+
|
840
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
841
|
+
rb_define_const(mC_Limit, "COMPOUND_SELECT", INT2FIX(SQLITE_LIMIT_COMPOUND_SELECT));
|
842
|
+
|
843
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
844
|
+
rb_define_const(mC_Limit, "EXPR_DEPTH", INT2FIX(SQLITE_LIMIT_EXPR_DEPTH));
|
845
|
+
|
846
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
847
|
+
rb_define_const(mC_Limit, "FUNCTION_ARG", INT2FIX(SQLITE_LIMIT_FUNCTION_ARG));
|
848
|
+
|
849
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
850
|
+
rb_define_const(mC_Limit, "LENGTH", INT2FIX(SQLITE_LIMIT_LENGTH));
|
851
|
+
|
852
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
853
|
+
rb_define_const(mC_Limit, "LIKE_PATTERN_LENGTH", INT2FIX(SQLITE_LIMIT_LIKE_PATTERN_LENGTH));
|
854
|
+
|
855
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
856
|
+
rb_define_const(mC_Limit, "SQL_LENGTH", INT2FIX(SQLITE_LIMIT_SQL_LENGTH));
|
857
|
+
|
858
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
859
|
+
rb_define_const(mC_Limit, "TRIGGER_DEPTH", INT2FIX(SQLITE_LIMIT_TRIGGER_DEPTH));
|
860
|
+
|
861
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
862
|
+
rb_define_const(mC_Limit, "VARIABLE_NUMBER", INT2FIX(SQLITE_LIMIT_VARIABLE_NUMBER));
|
863
|
+
|
864
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
865
|
+
rb_define_const(mC_Limit, "VDBE_OP", INT2FIX(SQLITE_LIMIT_VDBE_OP));
|
866
|
+
|
867
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
868
|
+
rb_define_const(mC_Limit, "WORKER_THREADS", INT2FIX(SQLITE_LIMIT_WORKER_THREADS));
|
869
|
+
|
870
|
+
/* 4 -- xLock() only */
|
871
|
+
rb_define_const(mC_Lock, "EXCLUSIVE", INT2FIX(SQLITE_LOCK_EXCLUSIVE));
|
872
|
+
|
873
|
+
/* 0 -- xUnlock() only */
|
874
|
+
rb_define_const(mC_Lock, "NONE", INT2FIX(SQLITE_LOCK_NONE));
|
875
|
+
|
876
|
+
/* 3 -- xLock() only */
|
877
|
+
rb_define_const(mC_Lock, "PENDING", INT2FIX(SQLITE_LOCK_PENDING));
|
878
|
+
|
879
|
+
/* 2 -- xLock() only */
|
880
|
+
rb_define_const(mC_Lock, "RESERVED", INT2FIX(SQLITE_LOCK_RESERVED));
|
881
|
+
|
882
|
+
/* 1 -- xLock() or xUnlock() */
|
883
|
+
rb_define_const(mC_Lock, "SHARED", INT2FIX(SQLITE_LOCK_SHARED));
|
884
|
+
|
885
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
886
|
+
rb_define_const(mC_Mutex, "FAST", INT2FIX(SQLITE_MUTEX_FAST));
|
887
|
+
|
888
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
889
|
+
rb_define_const(mC_Mutex, "RECURSIVE", INT2FIX(SQLITE_MUTEX_RECURSIVE));
|
890
|
+
|
891
|
+
/* 8 -- For use by application */
|
892
|
+
rb_define_const(mC_Mutex, "STATIC_APP1", INT2FIX(SQLITE_MUTEX_STATIC_APP1));
|
893
|
+
|
894
|
+
/* 9 -- For use by application */
|
895
|
+
rb_define_const(mC_Mutex, "STATIC_APP2", INT2FIX(SQLITE_MUTEX_STATIC_APP2));
|
896
|
+
|
897
|
+
/* 10 -- For use by application */
|
898
|
+
rb_define_const(mC_Mutex, "STATIC_APP3", INT2FIX(SQLITE_MUTEX_STATIC_APP3));
|
899
|
+
|
900
|
+
/* 6 -- lru page list */
|
901
|
+
rb_define_const(mC_Mutex, "STATIC_LRU", INT2FIX(SQLITE_MUTEX_STATIC_LRU));
|
902
|
+
|
903
|
+
/* 7 -- NOT USED */
|
904
|
+
rb_define_const(mC_Mutex, "STATIC_LRU2", INT2FIX(SQLITE_MUTEX_STATIC_LRU2));
|
905
|
+
|
906
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
907
|
+
rb_define_const(mC_Mutex, "STATIC_MAIN", INT2FIX(SQLITE_MUTEX_STATIC_MAIN));
|
908
|
+
|
909
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
910
|
+
rb_define_const(mC_Mutex, "STATIC_MASTER", INT2FIX(SQLITE_MUTEX_STATIC_MASTER));
|
911
|
+
|
912
|
+
/* 3 -- sqlite3_malloc() */
|
913
|
+
rb_define_const(mC_Mutex, "STATIC_MEM", INT2FIX(SQLITE_MUTEX_STATIC_MEM));
|
914
|
+
|
915
|
+
/* 4 -- NOT USED */
|
916
|
+
rb_define_const(mC_Mutex, "STATIC_MEM2", INT2FIX(SQLITE_MUTEX_STATIC_MEM2));
|
917
|
+
|
918
|
+
/* 4 -- sqlite3BtreeOpen() */
|
919
|
+
rb_define_const(mC_Mutex, "STATIC_OPEN", INT2FIX(SQLITE_MUTEX_STATIC_OPEN));
|
920
|
+
|
921
|
+
/* 7 -- sqlite3PageMalloc() */
|
922
|
+
rb_define_const(mC_Mutex, "STATIC_PMEM", INT2FIX(SQLITE_MUTEX_STATIC_PMEM));
|
923
|
+
|
924
|
+
/* 5 -- sqlite3_randomness() */
|
925
|
+
rb_define_const(mC_Mutex, "STATIC_PRNG", INT2FIX(SQLITE_MUTEX_STATIC_PRNG));
|
926
|
+
|
927
|
+
/* 11 -- For use by built-in VFS */
|
928
|
+
rb_define_const(mC_Mutex, "STATIC_VFS1", INT2FIX(SQLITE_MUTEX_STATIC_VFS1));
|
929
|
+
|
930
|
+
/* 12 -- For use by extension VFS */
|
931
|
+
rb_define_const(mC_Mutex, "STATIC_VFS2", INT2FIX(SQLITE_MUTEX_STATIC_VFS2));
|
932
|
+
|
933
|
+
/* 13 -- For use by application VFS */
|
934
|
+
rb_define_const(mC_Mutex, "STATIC_VFS3", INT2FIX(SQLITE_MUTEX_STATIC_VFS3));
|
935
|
+
|
936
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
937
|
+
rb_define_const(mC_Notice, "RBU", INT2FIX(SQLITE_NOTICE_RBU));
|
938
|
+
|
939
|
+
/* 0x00000020 -- VFS only */
|
940
|
+
rb_define_const(mC_Open, "AUTOPROXY", INT2FIX(SQLITE_OPEN_AUTOPROXY));
|
941
|
+
|
942
|
+
/* 0x00000004 -- Ok for sqlite3_open_v2() */
|
943
|
+
rb_define_const(mC_Open, "CREATE", INT2FIX(SQLITE_OPEN_CREATE));
|
944
|
+
|
945
|
+
/* 0x00000008 -- VFS only */
|
946
|
+
rb_define_const(mC_Open, "DELETEONCLOSE", INT2FIX(SQLITE_OPEN_DELETEONCLOSE));
|
947
|
+
|
948
|
+
/* 0x00000010 -- VFS only */
|
949
|
+
rb_define_const(mC_Open, "EXCLUSIVE", INT2FIX(SQLITE_OPEN_EXCLUSIVE));
|
950
|
+
|
951
|
+
/* 0x02000000 -- Extended result codes */
|
952
|
+
rb_define_const(mC_Open, "EXRESCODE", INT2FIX(SQLITE_OPEN_EXRESCODE));
|
953
|
+
|
954
|
+
/* 0x00010000 -- Ok for sqlite3_open_v2() */
|
955
|
+
rb_define_const(mC_Open, "FULLMUTEX", INT2FIX(SQLITE_OPEN_FULLMUTEX));
|
956
|
+
|
957
|
+
/* 0x00000100 -- VFS only */
|
958
|
+
rb_define_const(mC_Open, "MAIN_DB", INT2FIX(SQLITE_OPEN_MAIN_DB));
|
959
|
+
|
960
|
+
/* 0x00000800 -- VFS only */
|
961
|
+
rb_define_const(mC_Open, "MAIN_JOURNAL", INT2FIX(SQLITE_OPEN_MAIN_JOURNAL));
|
962
|
+
|
963
|
+
/* 0x00004000 -- VFS only */
|
964
|
+
rb_define_const(mC_Open, "MASTER_JOURNAL", INT2FIX(SQLITE_OPEN_MASTER_JOURNAL));
|
965
|
+
|
966
|
+
/* 0x00000080 -- Ok for sqlite3_open_v2() */
|
967
|
+
rb_define_const(mC_Open, "MEMORY", INT2FIX(SQLITE_OPEN_MEMORY));
|
968
|
+
|
969
|
+
/* 0x01000000 -- Ok for sqlite3_open_v2() */
|
970
|
+
rb_define_const(mC_Open, "NOFOLLOW", INT2FIX(SQLITE_OPEN_NOFOLLOW));
|
971
|
+
|
972
|
+
/* 0x00008000 -- Ok for sqlite3_open_v2() */
|
973
|
+
rb_define_const(mC_Open, "NOMUTEX", INT2FIX(SQLITE_OPEN_NOMUTEX));
|
974
|
+
|
975
|
+
/* 0x00040000 -- Ok for sqlite3_open_v2() */
|
976
|
+
rb_define_const(mC_Open, "PRIVATECACHE", INT2FIX(SQLITE_OPEN_PRIVATECACHE));
|
977
|
+
|
978
|
+
/* 0x00000001 -- Ok for sqlite3_open_v2() */
|
979
|
+
rb_define_const(mC_Open, "READONLY", INT2FIX(SQLITE_OPEN_READONLY));
|
980
|
+
|
981
|
+
/* 0x00000002 -- Ok for sqlite3_open_v2() */
|
982
|
+
rb_define_const(mC_Open, "READWRITE", INT2FIX(SQLITE_OPEN_READWRITE));
|
983
|
+
|
984
|
+
/* 0x00020000 -- Ok for sqlite3_open_v2() */
|
985
|
+
rb_define_const(mC_Open, "SHAREDCACHE", INT2FIX(SQLITE_OPEN_SHAREDCACHE));
|
986
|
+
|
987
|
+
/* 0x00002000 -- VFS only */
|
988
|
+
rb_define_const(mC_Open, "SUBJOURNAL", INT2FIX(SQLITE_OPEN_SUBJOURNAL));
|
989
|
+
|
990
|
+
/* 0x00004000 -- VFS only */
|
991
|
+
rb_define_const(mC_Open, "SUPER_JOURNAL", INT2FIX(SQLITE_OPEN_SUPER_JOURNAL));
|
992
|
+
|
993
|
+
/* 0x00000200 -- VFS only */
|
994
|
+
rb_define_const(mC_Open, "TEMP_DB", INT2FIX(SQLITE_OPEN_TEMP_DB));
|
995
|
+
|
996
|
+
/* 0x00001000 -- VFS only */
|
997
|
+
rb_define_const(mC_Open, "TEMP_JOURNAL", INT2FIX(SQLITE_OPEN_TEMP_JOURNAL));
|
998
|
+
|
999
|
+
/* 0x00000400 -- VFS only */
|
1000
|
+
rb_define_const(mC_Open, "TRANSIENT_DB", INT2FIX(SQLITE_OPEN_TRANSIENT_DB));
|
1001
|
+
|
1002
|
+
/* 0x00000040 -- Ok for sqlite3_open_v2() */
|
1003
|
+
rb_define_const(mC_Open, "URI", INT2FIX(SQLITE_OPEN_URI));
|
1004
|
+
|
1005
|
+
/* 0x00080000 -- VFS only */
|
1006
|
+
rb_define_const(mC_Open, "WAL", INT2FIX(SQLITE_OPEN_WAL));
|
1007
|
+
|
1008
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1009
|
+
rb_define_const(mC_Prepare, "NORMALIZE", INT2FIX(SQLITE_PREPARE_NORMALIZE));
|
1010
|
+
|
1011
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1012
|
+
rb_define_const(mC_Prepare, "NO_VTAB", INT2FIX(SQLITE_PREPARE_NO_VTAB));
|
1013
|
+
|
1014
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1015
|
+
rb_define_const(mC_Prepare, "PERSISTENT", INT2FIX(SQLITE_PREPARE_PERSISTENT));
|
1016
|
+
|
1017
|
+
/* 2 -- Object fully contained within query region */
|
1018
|
+
rb_define_const(mC_RTree, "FULLY_WITHIN", INT2FIX(FULLY_WITHIN));
|
1019
|
+
|
1020
|
+
/* 0 -- Object completely outside of query region */
|
1021
|
+
rb_define_const(mC_RTree, "NOT_WITHIN", INT2FIX(NOT_WITHIN));
|
1022
|
+
|
1023
|
+
/* 1 -- Object partially overlaps query region */
|
1024
|
+
rb_define_const(mC_RTree, "PARTLY_WITHIN", INT2FIX(PARTLY_WITHIN));
|
1025
|
+
|
1026
|
+
/* 4 -- Callback routine requested an abort */
|
1027
|
+
rb_define_const(mC_ResultCode, "ABORT", INT2FIX(SQLITE_ABORT));
|
1028
|
+
|
1029
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1030
|
+
rb_define_const(mC_ResultCode, "ABORT_ROLLBACK", INT2FIX(SQLITE_ABORT_ROLLBACK));
|
1031
|
+
|
1032
|
+
/* 23 -- Authorization denied */
|
1033
|
+
rb_define_const(mC_ResultCode, "AUTH", INT2FIX(SQLITE_AUTH));
|
1034
|
+
|
1035
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1036
|
+
rb_define_const(mC_ResultCode, "AUTH_USER", INT2FIX(SQLITE_AUTH_USER));
|
1037
|
+
|
1038
|
+
/* 5 -- The database file is locked */
|
1039
|
+
rb_define_const(mC_ResultCode, "BUSY", INT2FIX(SQLITE_BUSY));
|
1040
|
+
|
1041
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1042
|
+
rb_define_const(mC_ResultCode, "BUSY_RECOVERY", INT2FIX(SQLITE_BUSY_RECOVERY));
|
1043
|
+
|
1044
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1045
|
+
rb_define_const(mC_ResultCode, "BUSY_SNAPSHOT", INT2FIX(SQLITE_BUSY_SNAPSHOT));
|
1046
|
+
|
1047
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1048
|
+
rb_define_const(mC_ResultCode, "BUSY_TIMEOUT", INT2FIX(SQLITE_BUSY_TIMEOUT));
|
1049
|
+
|
1050
|
+
/* 14 -- Unable to open the database file */
|
1051
|
+
rb_define_const(mC_ResultCode, "CANTOPEN", INT2FIX(SQLITE_CANTOPEN));
|
1052
|
+
|
1053
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1054
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_CONVPATH", INT2FIX(SQLITE_CANTOPEN_CONVPATH));
|
1055
|
+
|
1056
|
+
/* (SQLITE_CANTOPEN | (5<<8)) -- Not Used */
|
1057
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_DIRTYWAL", INT2FIX(SQLITE_CANTOPEN_DIRTYWAL));
|
1058
|
+
|
1059
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1060
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_FULLPATH", INT2FIX(SQLITE_CANTOPEN_FULLPATH));
|
1061
|
+
|
1062
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1063
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_ISDIR", INT2FIX(SQLITE_CANTOPEN_ISDIR));
|
1064
|
+
|
1065
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1066
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_NOTEMPDIR", INT2FIX(SQLITE_CANTOPEN_NOTEMPDIR));
|
1067
|
+
|
1068
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1069
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_SYMLINK", INT2FIX(SQLITE_CANTOPEN_SYMLINK));
|
1070
|
+
|
1071
|
+
/* 19 -- Abort due to constraint violation */
|
1072
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT", INT2FIX(SQLITE_CONSTRAINT));
|
1073
|
+
|
1074
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1075
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_CHECK", INT2FIX(SQLITE_CONSTRAINT_CHECK));
|
1076
|
+
|
1077
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1078
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_COMMITHOOK", INT2FIX(SQLITE_CONSTRAINT_COMMITHOOK));
|
1079
|
+
|
1080
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1081
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_FOREIGNKEY", INT2FIX(SQLITE_CONSTRAINT_FOREIGNKEY));
|
1082
|
+
|
1083
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1084
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_FUNCTION", INT2FIX(SQLITE_CONSTRAINT_FUNCTION));
|
1085
|
+
|
1086
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1087
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_NOTNULL", INT2FIX(SQLITE_CONSTRAINT_NOTNULL));
|
1088
|
+
|
1089
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1090
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_PINNED", INT2FIX(SQLITE_CONSTRAINT_PINNED));
|
1091
|
+
|
1092
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1093
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_PRIMARYKEY", INT2FIX(SQLITE_CONSTRAINT_PRIMARYKEY));
|
1094
|
+
|
1095
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1096
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_ROWID", INT2FIX(SQLITE_CONSTRAINT_ROWID));
|
1097
|
+
|
1098
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1099
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_TRIGGER", INT2FIX(SQLITE_CONSTRAINT_TRIGGER));
|
1100
|
+
|
1101
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1102
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_UNIQUE", INT2FIX(SQLITE_CONSTRAINT_UNIQUE));
|
1103
|
+
|
1104
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1105
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_VTAB", INT2FIX(SQLITE_CONSTRAINT_VTAB));
|
1106
|
+
|
1107
|
+
/* 11 -- The database disk image is malformed */
|
1108
|
+
rb_define_const(mC_ResultCode, "CORRUPT", INT2FIX(SQLITE_CORRUPT));
|
1109
|
+
|
1110
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1111
|
+
rb_define_const(mC_ResultCode, "CORRUPT_INDEX", INT2FIX(SQLITE_CORRUPT_INDEX));
|
1112
|
+
|
1113
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1114
|
+
rb_define_const(mC_ResultCode, "CORRUPT_SEQUENCE", INT2FIX(SQLITE_CORRUPT_SEQUENCE));
|
1115
|
+
|
1116
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1117
|
+
rb_define_const(mC_ResultCode, "CORRUPT_VTAB", INT2FIX(SQLITE_CORRUPT_VTAB));
|
1118
|
+
|
1119
|
+
/* 101 -- sqlite3_step() has finished executing */
|
1120
|
+
rb_define_const(mC_ResultCode, "DONE", INT2FIX(SQLITE_DONE));
|
1121
|
+
|
1122
|
+
/* 16 -- Internal use only */
|
1123
|
+
rb_define_const(mC_ResultCode, "EMPTY", INT2FIX(SQLITE_EMPTY));
|
1124
|
+
|
1125
|
+
/* 1 -- Generic error */
|
1126
|
+
rb_define_const(mC_ResultCode, "ERROR", INT2FIX(SQLITE_ERROR));
|
1127
|
+
|
1128
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1129
|
+
rb_define_const(mC_ResultCode, "ERROR_MISSING_COLLSEQ", INT2FIX(SQLITE_ERROR_MISSING_COLLSEQ));
|
1130
|
+
|
1131
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1132
|
+
rb_define_const(mC_ResultCode, "ERROR_RETRY", INT2FIX(SQLITE_ERROR_RETRY));
|
1133
|
+
|
1134
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1135
|
+
rb_define_const(mC_ResultCode, "ERROR_SNAPSHOT", INT2FIX(SQLITE_ERROR_SNAPSHOT));
|
1136
|
+
|
1137
|
+
/* 24 -- Not used */
|
1138
|
+
rb_define_const(mC_ResultCode, "FORMAT", INT2FIX(SQLITE_FORMAT));
|
1139
|
+
|
1140
|
+
/* 13 -- Insertion failed because database is full */
|
1141
|
+
rb_define_const(mC_ResultCode, "FULL", INT2FIX(SQLITE_FULL));
|
1142
|
+
|
1143
|
+
/* 2 -- Internal logic error in SQLite */
|
1144
|
+
rb_define_const(mC_ResultCode, "INTERNAL", INT2FIX(SQLITE_INTERNAL));
|
1145
|
+
|
1146
|
+
/* 9 -- Operation terminated by sqlite3_interrupt() */
|
1147
|
+
rb_define_const(mC_ResultCode, "INTERRUPT", INT2FIX(SQLITE_INTERRUPT));
|
1148
|
+
|
1149
|
+
/* 10 -- Some kind of disk I/O error occurred */
|
1150
|
+
rb_define_const(mC_ResultCode, "IOERR", INT2FIX(SQLITE_IOERR));
|
1151
|
+
|
1152
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1153
|
+
rb_define_const(mC_ResultCode, "IOERR_ACCESS", INT2FIX(SQLITE_IOERR_ACCESS));
|
1154
|
+
|
1155
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1156
|
+
rb_define_const(mC_ResultCode, "IOERR_AUTH", INT2FIX(SQLITE_IOERR_AUTH));
|
1157
|
+
|
1158
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1159
|
+
rb_define_const(mC_ResultCode, "IOERR_BEGIN_ATOMIC", INT2FIX(SQLITE_IOERR_BEGIN_ATOMIC));
|
1160
|
+
|
1161
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1162
|
+
rb_define_const(mC_ResultCode, "IOERR_BLOCKED", INT2FIX(SQLITE_IOERR_BLOCKED));
|
1163
|
+
|
1164
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1165
|
+
rb_define_const(mC_ResultCode, "IOERR_CHECKRESERVEDLOCK", INT2FIX(SQLITE_IOERR_CHECKRESERVEDLOCK));
|
1166
|
+
|
1167
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1168
|
+
rb_define_const(mC_ResultCode, "IOERR_CLOSE", INT2FIX(SQLITE_IOERR_CLOSE));
|
1169
|
+
|
1170
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1171
|
+
rb_define_const(mC_ResultCode, "IOERR_COMMIT_ATOMIC", INT2FIX(SQLITE_IOERR_COMMIT_ATOMIC));
|
1172
|
+
|
1173
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1174
|
+
rb_define_const(mC_ResultCode, "IOERR_CONVPATH", INT2FIX(SQLITE_IOERR_CONVPATH));
|
1175
|
+
|
1176
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1177
|
+
rb_define_const(mC_ResultCode, "IOERR_CORRUPTFS", INT2FIX(SQLITE_IOERR_CORRUPTFS));
|
1178
|
+
|
1179
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1180
|
+
rb_define_const(mC_ResultCode, "IOERR_DATA", INT2FIX(SQLITE_IOERR_DATA));
|
1181
|
+
|
1182
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1183
|
+
rb_define_const(mC_ResultCode, "IOERR_DELETE", INT2FIX(SQLITE_IOERR_DELETE));
|
1184
|
+
|
1185
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1186
|
+
rb_define_const(mC_ResultCode, "IOERR_DELETE_NOENT", INT2FIX(SQLITE_IOERR_DELETE_NOENT));
|
1187
|
+
|
1188
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1189
|
+
rb_define_const(mC_ResultCode, "IOERR_DIR_CLOSE", INT2FIX(SQLITE_IOERR_DIR_CLOSE));
|
1190
|
+
|
1191
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1192
|
+
rb_define_const(mC_ResultCode, "IOERR_DIR_FSYNC", INT2FIX(SQLITE_IOERR_DIR_FSYNC));
|
1193
|
+
|
1194
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1195
|
+
rb_define_const(mC_ResultCode, "IOERR_FSTAT", INT2FIX(SQLITE_IOERR_FSTAT));
|
1196
|
+
|
1197
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1198
|
+
rb_define_const(mC_ResultCode, "IOERR_FSYNC", INT2FIX(SQLITE_IOERR_FSYNC));
|
1199
|
+
|
1200
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1201
|
+
rb_define_const(mC_ResultCode, "IOERR_GETTEMPPATH", INT2FIX(SQLITE_IOERR_GETTEMPPATH));
|
1202
|
+
|
1203
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1204
|
+
rb_define_const(mC_ResultCode, "IOERR_LOCK", INT2FIX(SQLITE_IOERR_LOCK));
|
1205
|
+
|
1206
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1207
|
+
rb_define_const(mC_ResultCode, "IOERR_MMAP", INT2FIX(SQLITE_IOERR_MMAP));
|
1208
|
+
|
1209
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1210
|
+
rb_define_const(mC_ResultCode, "IOERR_NOMEM", INT2FIX(SQLITE_IOERR_NOMEM));
|
1211
|
+
|
1212
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1213
|
+
rb_define_const(mC_ResultCode, "IOERR_RDLOCK", INT2FIX(SQLITE_IOERR_RDLOCK));
|
1214
|
+
|
1215
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1216
|
+
rb_define_const(mC_ResultCode, "IOERR_READ", INT2FIX(SQLITE_IOERR_READ));
|
1217
|
+
|
1218
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1219
|
+
rb_define_const(mC_ResultCode, "IOERR_ROLLBACK_ATOMIC", INT2FIX(SQLITE_IOERR_ROLLBACK_ATOMIC));
|
1220
|
+
|
1221
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1222
|
+
rb_define_const(mC_ResultCode, "IOERR_SEEK", INT2FIX(SQLITE_IOERR_SEEK));
|
1223
|
+
|
1224
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1225
|
+
rb_define_const(mC_ResultCode, "IOERR_SHMLOCK", INT2FIX(SQLITE_IOERR_SHMLOCK));
|
1226
|
+
|
1227
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1228
|
+
rb_define_const(mC_ResultCode, "IOERR_SHMMAP", INT2FIX(SQLITE_IOERR_SHMMAP));
|
1229
|
+
|
1230
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1231
|
+
rb_define_const(mC_ResultCode, "IOERR_SHMOPEN", INT2FIX(SQLITE_IOERR_SHMOPEN));
|
1232
|
+
|
1233
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1234
|
+
rb_define_const(mC_ResultCode, "IOERR_SHMSIZE", INT2FIX(SQLITE_IOERR_SHMSIZE));
|
1235
|
+
|
1236
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1237
|
+
rb_define_const(mC_ResultCode, "IOERR_SHORT_READ", INT2FIX(SQLITE_IOERR_SHORT_READ));
|
1238
|
+
|
1239
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1240
|
+
rb_define_const(mC_ResultCode, "IOERR_TRUNCATE", INT2FIX(SQLITE_IOERR_TRUNCATE));
|
1241
|
+
|
1242
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1243
|
+
rb_define_const(mC_ResultCode, "IOERR_UNLOCK", INT2FIX(SQLITE_IOERR_UNLOCK));
|
1244
|
+
|
1245
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1246
|
+
rb_define_const(mC_ResultCode, "IOERR_VNODE", INT2FIX(SQLITE_IOERR_VNODE));
|
1247
|
+
|
1248
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1249
|
+
rb_define_const(mC_ResultCode, "IOERR_WRITE", INT2FIX(SQLITE_IOERR_WRITE));
|
1250
|
+
|
1251
|
+
/* 6 -- A table in the database is locked */
|
1252
|
+
rb_define_const(mC_ResultCode, "LOCKED", INT2FIX(SQLITE_LOCKED));
|
1253
|
+
|
1254
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1255
|
+
rb_define_const(mC_ResultCode, "LOCKED_SHAREDCACHE", INT2FIX(SQLITE_LOCKED_SHAREDCACHE));
|
1256
|
+
|
1257
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1258
|
+
rb_define_const(mC_ResultCode, "LOCKED_VTAB", INT2FIX(SQLITE_LOCKED_VTAB));
|
1259
|
+
|
1260
|
+
/* 20 -- Data type mismatch */
|
1261
|
+
rb_define_const(mC_ResultCode, "MISMATCH", INT2FIX(SQLITE_MISMATCH));
|
1262
|
+
|
1263
|
+
/* 21 -- Library used incorrectly */
|
1264
|
+
rb_define_const(mC_ResultCode, "MISUSE", INT2FIX(SQLITE_MISUSE));
|
1265
|
+
|
1266
|
+
/* 22 -- Uses OS features not supported on host */
|
1267
|
+
rb_define_const(mC_ResultCode, "NOLFS", INT2FIX(SQLITE_NOLFS));
|
1268
|
+
|
1269
|
+
/* 7 -- A malloc() failed */
|
1270
|
+
rb_define_const(mC_ResultCode, "NOMEM", INT2FIX(SQLITE_NOMEM));
|
1271
|
+
|
1272
|
+
/* 26 -- File opened that is not a database file */
|
1273
|
+
rb_define_const(mC_ResultCode, "NOTADB", INT2FIX(SQLITE_NOTADB));
|
1274
|
+
|
1275
|
+
/* 12 -- Unknown opcode in sqlite3_file_control() */
|
1276
|
+
rb_define_const(mC_ResultCode, "NOTFOUND", INT2FIX(SQLITE_NOTFOUND));
|
1277
|
+
|
1278
|
+
/* 27 -- Notifications from sqlite3_log() */
|
1279
|
+
rb_define_const(mC_ResultCode, "NOTICE", INT2FIX(SQLITE_NOTICE));
|
1280
|
+
|
1281
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1282
|
+
rb_define_const(mC_ResultCode, "NOTICE_RECOVER_ROLLBACK", INT2FIX(SQLITE_NOTICE_RECOVER_ROLLBACK));
|
1283
|
+
|
1284
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1285
|
+
rb_define_const(mC_ResultCode, "NOTICE_RECOVER_WAL", INT2FIX(SQLITE_NOTICE_RECOVER_WAL));
|
1286
|
+
|
1287
|
+
/* 0 -- Successful result */
|
1288
|
+
rb_define_const(mC_ResultCode, "OK", INT2FIX(SQLITE_OK));
|
1289
|
+
|
1290
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1291
|
+
rb_define_const(mC_ResultCode, "OK_LOAD_PERMANENTLY", INT2FIX(SQLITE_OK_LOAD_PERMANENTLY));
|
1292
|
+
|
1293
|
+
/* (SQLITE_OK | (2<<8)) -- internal use only */
|
1294
|
+
rb_define_const(mC_ResultCode, "OK_SYMLINK", INT2FIX(SQLITE_OK_SYMLINK));
|
1295
|
+
|
1296
|
+
/* 3 -- Access permission denied */
|
1297
|
+
rb_define_const(mC_ResultCode, "PERM", INT2FIX(SQLITE_PERM));
|
1298
|
+
|
1299
|
+
/* 15 -- Database lock protocol error */
|
1300
|
+
rb_define_const(mC_ResultCode, "PROTOCOL", INT2FIX(SQLITE_PROTOCOL));
|
1301
|
+
|
1302
|
+
/* 25 -- 2nd parameter to sqlite3_bind out of range */
|
1303
|
+
rb_define_const(mC_ResultCode, "RANGE", INT2FIX(SQLITE_RANGE));
|
1304
|
+
|
1305
|
+
/* 8 -- Attempt to write a readonly database */
|
1306
|
+
rb_define_const(mC_ResultCode, "READONLY", INT2FIX(SQLITE_READONLY));
|
1307
|
+
|
1308
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1309
|
+
rb_define_const(mC_ResultCode, "READONLY_CANTINIT", INT2FIX(SQLITE_READONLY_CANTINIT));
|
1310
|
+
|
1311
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1312
|
+
rb_define_const(mC_ResultCode, "READONLY_CANTLOCK", INT2FIX(SQLITE_READONLY_CANTLOCK));
|
1313
|
+
|
1314
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1315
|
+
rb_define_const(mC_ResultCode, "READONLY_DBMOVED", INT2FIX(SQLITE_READONLY_DBMOVED));
|
1316
|
+
|
1317
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1318
|
+
rb_define_const(mC_ResultCode, "READONLY_DIRECTORY", INT2FIX(SQLITE_READONLY_DIRECTORY));
|
1319
|
+
|
1320
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1321
|
+
rb_define_const(mC_ResultCode, "READONLY_RECOVERY", INT2FIX(SQLITE_READONLY_RECOVERY));
|
1322
|
+
|
1323
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1324
|
+
rb_define_const(mC_ResultCode, "READONLY_ROLLBACK", INT2FIX(SQLITE_READONLY_ROLLBACK));
|
1325
|
+
|
1326
|
+
/* 100 -- sqlite3_step() has another row ready */
|
1327
|
+
rb_define_const(mC_ResultCode, "ROW", INT2FIX(SQLITE_ROW));
|
1328
|
+
|
1329
|
+
/* 17 -- The database schema changed */
|
1330
|
+
rb_define_const(mC_ResultCode, "SCHEMA", INT2FIX(SQLITE_SCHEMA));
|
1331
|
+
|
1332
|
+
/* 18 -- String or BLOB exceeds size limit */
|
1333
|
+
rb_define_const(mC_ResultCode, "TOOBIG", INT2FIX(SQLITE_TOOBIG));
|
1334
|
+
|
1335
|
+
/* 28 -- Warnings from sqlite3_log() */
|
1336
|
+
rb_define_const(mC_ResultCode, "WARNING", INT2FIX(SQLITE_WARNING));
|
1337
|
+
|
1338
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1339
|
+
rb_define_const(mC_ResultCode, "WARNING_AUTOINDEX", INT2FIX(SQLITE_WARNING_AUTOINDEX));
|
1340
|
+
|
1341
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1342
|
+
rb_define_const(mC_SHM, "EXCLUSIVE", INT2FIX(SQLITE_SHM_EXCLUSIVE));
|
1343
|
+
|
1344
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1345
|
+
rb_define_const(mC_SHM, "LOCK", INT2FIX(SQLITE_SHM_LOCK));
|
1346
|
+
|
1347
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1348
|
+
rb_define_const(mC_SHM, "NLOCK", INT2FIX(SQLITE_SHM_NLOCK));
|
1349
|
+
|
1350
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1351
|
+
rb_define_const(mC_SHM, "SHARED", INT2FIX(SQLITE_SHM_SHARED));
|
1352
|
+
|
1353
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1354
|
+
rb_define_const(mC_SHM, "UNLOCK", INT2FIX(SQLITE_SHM_UNLOCK));
|
1355
|
+
|
1356
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1357
|
+
rb_define_const(mC_ScanStat, "COMPLEX", INT2FIX(SQLITE_SCANSTAT_COMPLEX));
|
1358
|
+
|
1359
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1360
|
+
rb_define_const(mC_ScanStat, "EST", INT2FIX(SQLITE_SCANSTAT_EST));
|
1361
|
+
|
1362
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1363
|
+
rb_define_const(mC_ScanStat, "EXPLAIN", INT2FIX(SQLITE_SCANSTAT_EXPLAIN));
|
1364
|
+
|
1365
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1366
|
+
rb_define_const(mC_ScanStat, "NAME", INT2FIX(SQLITE_SCANSTAT_NAME));
|
1367
|
+
|
1368
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1369
|
+
rb_define_const(mC_ScanStat, "NCYCLE", INT2FIX(SQLITE_SCANSTAT_NCYCLE));
|
1370
|
+
|
1371
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1372
|
+
rb_define_const(mC_ScanStat, "NLOOP", INT2FIX(SQLITE_SCANSTAT_NLOOP));
|
1373
|
+
|
1374
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1375
|
+
rb_define_const(mC_ScanStat, "NVISIT", INT2FIX(SQLITE_SCANSTAT_NVISIT));
|
1376
|
+
|
1377
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1378
|
+
rb_define_const(mC_ScanStat, "PARENTID", INT2FIX(SQLITE_SCANSTAT_PARENTID));
|
1379
|
+
|
1380
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1381
|
+
rb_define_const(mC_ScanStat, "SELECTID", INT2FIX(SQLITE_SCANSTAT_SELECTID));
|
1382
|
+
|
1383
|
+
/* 0x001 -- Do no memory allocations */
|
1384
|
+
rb_define_const(mC_Serialize, "NOCOPY", INT2FIX(SQLITE_SERIALIZE_NOCOPY));
|
1385
|
+
|
1386
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1387
|
+
rb_define_const(mC_Session, "CONFIG_STRMSIZE", INT2FIX(SQLITE_SESSION_CONFIG_STRMSIZE));
|
1388
|
+
|
1389
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1390
|
+
rb_define_const(mC_Session, "OBJCONFIG_SIZE", INT2FIX(SQLITE_SESSION_OBJCONFIG_SIZE));
|
1391
|
+
|
1392
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1393
|
+
rb_define_const(mC_StatementStatus, "AUTOINDEX", INT2FIX(SQLITE_STMTSTATUS_AUTOINDEX));
|
1394
|
+
|
1395
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1396
|
+
rb_define_const(mC_StatementStatus, "FILTER_HIT", INT2FIX(SQLITE_STMTSTATUS_FILTER_HIT));
|
1397
|
+
|
1398
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1399
|
+
rb_define_const(mC_StatementStatus, "FILTER_MISS", INT2FIX(SQLITE_STMTSTATUS_FILTER_MISS));
|
1400
|
+
|
1401
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1402
|
+
rb_define_const(mC_StatementStatus, "FULLSCAN_STEP", INT2FIX(SQLITE_STMTSTATUS_FULLSCAN_STEP));
|
1403
|
+
|
1404
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1405
|
+
rb_define_const(mC_StatementStatus, "MEMUSED", INT2FIX(SQLITE_STMTSTATUS_MEMUSED));
|
1406
|
+
|
1407
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1408
|
+
rb_define_const(mC_StatementStatus, "REPREPARE", INT2FIX(SQLITE_STMTSTATUS_REPREPARE));
|
1409
|
+
|
1410
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1411
|
+
rb_define_const(mC_StatementStatus, "RUN", INT2FIX(SQLITE_STMTSTATUS_RUN));
|
1412
|
+
|
1413
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1414
|
+
rb_define_const(mC_StatementStatus, "SORT", INT2FIX(SQLITE_STMTSTATUS_SORT));
|
1415
|
+
|
1416
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1417
|
+
rb_define_const(mC_StatementStatus, "VM_STEP", INT2FIX(SQLITE_STMTSTATUS_VM_STEP));
|
1418
|
+
|
1419
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1420
|
+
rb_define_const(mC_Status, "MALLOC_COUNT", INT2FIX(SQLITE_STATUS_MALLOC_COUNT));
|
1421
|
+
|
1422
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1423
|
+
rb_define_const(mC_Status, "MALLOC_SIZE", INT2FIX(SQLITE_STATUS_MALLOC_SIZE));
|
1424
|
+
|
1425
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1426
|
+
rb_define_const(mC_Status, "MEMORY_USED", INT2FIX(SQLITE_STATUS_MEMORY_USED));
|
1427
|
+
|
1428
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1429
|
+
rb_define_const(mC_Status, "PAGECACHE_OVERFLOW", INT2FIX(SQLITE_STATUS_PAGECACHE_OVERFLOW));
|
1430
|
+
|
1431
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1432
|
+
rb_define_const(mC_Status, "PAGECACHE_SIZE", INT2FIX(SQLITE_STATUS_PAGECACHE_SIZE));
|
1433
|
+
|
1434
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1435
|
+
rb_define_const(mC_Status, "PAGECACHE_USED", INT2FIX(SQLITE_STATUS_PAGECACHE_USED));
|
1436
|
+
|
1437
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1438
|
+
rb_define_const(mC_Status, "PARSER_STACK", INT2FIX(SQLITE_STATUS_PARSER_STACK));
|
1439
|
+
|
1440
|
+
/* 4 -- NOT USED */
|
1441
|
+
rb_define_const(mC_Status, "SCRATCH_OVERFLOW", INT2FIX(SQLITE_STATUS_SCRATCH_OVERFLOW));
|
1442
|
+
|
1443
|
+
/* 8 -- NOT USED */
|
1444
|
+
rb_define_const(mC_Status, "SCRATCH_SIZE", INT2FIX(SQLITE_STATUS_SCRATCH_SIZE));
|
1445
|
+
|
1446
|
+
/* 3 -- NOT USED */
|
1447
|
+
rb_define_const(mC_Status, "SCRATCH_USED", INT2FIX(SQLITE_STATUS_SCRATCH_USED));
|
1448
|
+
|
1449
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1450
|
+
rb_define_const(mC_Sync, "DATAONLY", INT2FIX(SQLITE_SYNC_DATAONLY));
|
1451
|
+
|
1452
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1453
|
+
rb_define_const(mC_Sync, "FULL", INT2FIX(SQLITE_SYNC_FULL));
|
1454
|
+
|
1455
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1456
|
+
rb_define_const(mC_Sync, "NORMAL", INT2FIX(SQLITE_SYNC_NORMAL));
|
1457
|
+
|
1458
|
+
/* 5 -- Deprecated */
|
1459
|
+
rb_define_const(mC_TextEncoding, "ANY", INT2FIX(SQLITE_ANY));
|
1460
|
+
|
1461
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1462
|
+
rb_define_const(mC_TextEncoding, "DETERMINISTIC", INT2FIX(SQLITE_DETERMINISTIC));
|
1463
|
+
|
1464
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1465
|
+
rb_define_const(mC_TextEncoding, "DIRECTONLY", INT2FIX(SQLITE_DIRECTONLY));
|
1466
|
+
|
1467
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1468
|
+
rb_define_const(mC_TextEncoding, "INNOCUOUS", INT2FIX(SQLITE_INNOCUOUS));
|
1469
|
+
|
1470
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1471
|
+
rb_define_const(mC_TextEncoding, "SUBTYPE", INT2FIX(SQLITE_SUBTYPE));
|
1472
|
+
|
1473
|
+
/* 4 -- Use native byte order */
|
1474
|
+
rb_define_const(mC_TextEncoding, "UTF16", INT2FIX(SQLITE_UTF16));
|
1475
|
+
|
1476
|
+
/* 3 -- IMP: R-51971-34154 */
|
1477
|
+
rb_define_const(mC_TextEncoding, "UTF16BE", INT2FIX(SQLITE_UTF16BE));
|
1478
|
+
|
1479
|
+
/* 2 -- IMP: R-03371-37637 */
|
1480
|
+
rb_define_const(mC_TextEncoding, "UTF16LE", INT2FIX(SQLITE_UTF16LE));
|
1481
|
+
|
1482
|
+
/* 8 -- sqlite3_create_collation only */
|
1483
|
+
rb_define_const(mC_TextEncoding, "UTF16_ALIGNED", INT2FIX(SQLITE_UTF16_ALIGNED));
|
1484
|
+
|
1485
|
+
/* 1 -- IMP: R-37514-35566 */
|
1486
|
+
rb_define_const(mC_TextEncoding, "UTF8", INT2FIX(SQLITE_UTF8));
|
1487
|
+
|
1488
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1489
|
+
rb_define_const(mC_Trace, "CLOSE", INT2FIX(SQLITE_TRACE_CLOSE));
|
1490
|
+
|
1491
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1492
|
+
rb_define_const(mC_Trace, "PROFILE", INT2FIX(SQLITE_TRACE_PROFILE));
|
1493
|
+
|
1494
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1495
|
+
rb_define_const(mC_Trace, "ROW", INT2FIX(SQLITE_TRACE_ROW));
|
1496
|
+
|
1497
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1498
|
+
rb_define_const(mC_Trace, "STMT", INT2FIX(SQLITE_TRACE_STMT));
|
1499
|
+
|
1500
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1501
|
+
rb_define_const(mC_Transaction, "NONE", INT2FIX(SQLITE_TXN_NONE));
|
1502
|
+
|
1503
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1504
|
+
rb_define_const(mC_Transaction, "READ", INT2FIX(SQLITE_TXN_READ));
|
1505
|
+
|
1506
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1507
|
+
rb_define_const(mC_Transaction, "WRITE", INT2FIX(SQLITE_TXN_WRITE));
|
1508
|
+
|
1509
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1510
|
+
rb_define_const(mC_Wal, "SAVEPOINT_NDATA", INT2FIX(WAL_SAVEPOINT_NDATA));
|
1511
|
+
|
1512
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1513
|
+
rb_define_const(mC_Win32, "DATA_DIRECTORY_TYPE", INT2FIX(SQLITE_WIN32_DATA_DIRECTORY_TYPE));
|
1514
|
+
|
1515
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1516
|
+
rb_define_const(mC_Win32, "TEMP_DIRECTORY_TYPE", INT2FIX(SQLITE_WIN32_TEMP_DIRECTORY_TYPE));
|
1517
|
+
|
1518
|
+
}
|