amalgalite 1.6.3-x86-mingw32 → 1.8.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +26 -0
- data/LICENSE +1 -1
- data/README.md +3 -2
- data/Rakefile +9 -8
- data/ext/amalgalite/c/amalgalite_constants.c +207 -1
- data/ext/amalgalite/c/amalgalite_database.c +80 -70
- data/ext/amalgalite/c/extconf.rb +8 -0
- data/ext/amalgalite/c/gen_constants.rb +23 -0
- data/ext/amalgalite/c/sqlite3.c +51527 -28444
- data/ext/amalgalite/c/sqlite3.h +2193 -990
- data/ext/amalgalite/c/sqlite3ext.h +77 -0
- data/lib/amalgalite/2.4/amalgalite.so +0 -0
- data/lib/amalgalite/2.5/amalgalite.so +0 -0
- data/lib/amalgalite/2.6/amalgalite.so +0 -0
- data/lib/amalgalite/2.7/amalgalite.so +0 -0
- data/lib/amalgalite/3.0/amalgalite.so +0 -0
- data/lib/amalgalite/3.1/amalgalite.so +0 -0
- data/lib/amalgalite/aggregate.rb +6 -0
- data/lib/amalgalite/csv_table_importer.rb +3 -2
- data/lib/amalgalite/database.rb +2 -53
- data/lib/amalgalite/profile_tap.rb +2 -2
- data/lib/amalgalite/taps/io.rb +5 -2
- data/lib/amalgalite/trace_tap.rb +1 -1
- data/lib/amalgalite/version.rb +1 -1
- data/spec/aggregate_spec.rb +4 -0
- data/spec/database_spec.rb +12 -15
- data/spec/sqlite3/version_spec.rb +7 -7
- data/tasks/custom.rake +7 -8
- data/tasks/default.rake +13 -9
- data/tasks/extension.rake +12 -22
- data/tasks/this.rb +5 -5
- metadata +41 -35
- data/lib/amalgalite/2.2/amalgalite.so +0 -0
- data/lib/amalgalite/2.3/amalgalite.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d4c70401fbdc3e494faa9ab8c8a34d399e14e6f4f50a3a69b819e092def8155
|
4
|
+
data.tar.gz: 149c49d0db2837ae58af4d3cd6f9367ba28598c888f11e7fc25ad9922c3377ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0309156de433ecbb65fcf33e1d7c65bf9c73937001ca3b4e1883451ce16cbe0c8d44863c333971d117c0161e410fe8eb3d74cdf1f9c22094fa3968ed291a5b4d'
|
7
|
+
data.tar.gz: 7b4fcc46a02d5603ceaa39250d7700d853cd2739a5c7ade66e45a6d874f9a673521335d7c451656797c2424ee46a942e4a6519dc8da26239f535bdf357a71f4e
|
data/HISTORY.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Amalgalite Changelog
|
2
2
|
|
3
|
+
## Version 1.8.0 - 2023-02-06
|
4
|
+
* Update SQLite to 3.40.1
|
5
|
+
* Update ruby compaibility to 2.5 -> 3.2
|
6
|
+
|
7
|
+
## Version 1.7.2 - 2022-06-17
|
8
|
+
|
9
|
+
* Update SQLIte to 3.38.5
|
10
|
+
* Update ruby compatability testing to 2.5 -> 3.1
|
11
|
+
|
12
|
+
## Version 1.7.1 - 2021
|
13
|
+
|
14
|
+
* Update SQLite to 3.34.1
|
15
|
+
|
16
|
+
## Version 1.7.0 - 2021-01-13
|
17
|
+
|
18
|
+
* Update to SQLite to 3.34.0
|
19
|
+
* enable new compile time options
|
20
|
+
* SQLITE_ENABLE_BYTECODE_VGAB
|
21
|
+
* SQLITE_ENABLE_DESERIALIZE
|
22
|
+
* SQLITE_ENABLE_EXPLAIN_COMMENTS
|
23
|
+
* SQLITE_ENABLE_NULL_TRIM
|
24
|
+
* SQLITE_ENABLE_QPSG
|
25
|
+
* SQLITE_ENABLE_SNAPSHOT
|
26
|
+
* resolve ruby deprecations for ruby 2.7.2
|
27
|
+
* rework the aggregator interface to handle issue with ruby warnings.
|
28
|
+
|
3
29
|
## Version 1.6.3 - 2019-01-19
|
4
30
|
|
5
31
|
* Update to SQLite 3.26.0
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
## Amalgalite
|
2
2
|
|
3
|
+
[![Build Status](https://copiousfreetime.semaphoreci.com/badges/amalgalite/branches/main.svg?key=6d8f47c8-bfc7-4969-a128-424478908a27)](https://copiousfreetime.semaphoreci.com/projects/amalgalite)
|
4
|
+
|
3
5
|
* [Homepage](http://github.com/copiousfreetime/amalgalite)
|
4
|
-
* email jeremy at copiousfreetime dot org
|
5
6
|
* `git clone git://github.com/copiousfreetime/amalgalite.git`
|
6
7
|
* [Github](http://github.com/copiousfreetime/amalgalite/)
|
7
8
|
* [Bug Tracking](http://github.com/copiousfreetime/amalgalite/issues)
|
@@ -16,7 +17,7 @@
|
|
16
17
|
|
17
18
|
## DESCRIPTION
|
18
19
|
|
19
|
-
Amalgalite embeds the SQLite database engine
|
20
|
+
Amalgalite embeds the SQLite database engine as a ruby extension. There is no
|
20
21
|
need to install SQLite separately.
|
21
22
|
|
22
23
|
Look in the examples/ directory to see
|
data/Rakefile
CHANGED
@@ -9,16 +9,17 @@ This.homepage = "http://github.com/copiousfreetime/#{ This.name }"
|
|
9
9
|
This.ruby_gemspec do |spec|
|
10
10
|
spec.add_dependency( 'arrayfields', '~> 4.9' )
|
11
11
|
|
12
|
-
spec.add_development_dependency( 'rspec'
|
13
|
-
spec.add_development_dependency( '
|
14
|
-
spec.add_development_dependency( 'rake
|
15
|
-
spec.add_development_dependency( 'rake-compiler
|
16
|
-
spec.add_development_dependency( '
|
17
|
-
spec.add_development_dependency( '
|
18
|
-
spec.add_development_dependency( '
|
12
|
+
spec.add_development_dependency( 'rspec', '~> 3.12' )
|
13
|
+
spec.add_development_dependency( 'rspec_junit_formatter','~> 0.6' )
|
14
|
+
spec.add_development_dependency( 'rake', '~> 13.0' )
|
15
|
+
spec.add_development_dependency( 'rake-compiler', '~> 1.2' )
|
16
|
+
spec.add_development_dependency( 'rake-compiler-dock', '~> 1.2' )
|
17
|
+
spec.add_development_dependency( 'rdoc', '~> 6.5' )
|
18
|
+
spec.add_development_dependency( 'simplecov', '~> 0.21' )
|
19
|
+
spec.add_development_dependency( 'archive-zip', '~> 0.12' )
|
19
20
|
|
20
21
|
spec.extensions.concat This.extension_conf_files
|
21
|
-
spec.license = "BSD"
|
22
|
+
spec.license = "BSD-3-Clause"
|
22
23
|
end
|
23
24
|
|
24
25
|
load 'tasks/default.rake'
|
@@ -31,6 +31,16 @@ void Init_amalgalite_constants( )
|
|
31
31
|
*/
|
32
32
|
VALUE mC_Changeset = rb_define_module_under(mC, "Changeset");
|
33
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
|
+
|
34
44
|
/**
|
35
45
|
* module encapsulating the SQLite3 C extension constants for Checkpoint
|
36
46
|
*/
|
@@ -56,6 +66,11 @@ void Init_amalgalite_constants( )
|
|
56
66
|
*/
|
57
67
|
VALUE mC_DataType = rb_define_module_under(mC, "DataType");
|
58
68
|
|
69
|
+
/**
|
70
|
+
* module encapsulating the SQLite3 C extension constants for Deserialize
|
71
|
+
*/
|
72
|
+
VALUE mC_Deserialize = rb_define_module_under(mC, "Deserialize");
|
73
|
+
|
59
74
|
/**
|
60
75
|
* module encapsulating the SQLite3 C extension constants for FTS5
|
61
76
|
*/
|
@@ -121,6 +136,16 @@ void Init_amalgalite_constants( )
|
|
121
136
|
*/
|
122
137
|
VALUE mC_ScanStat = rb_define_module_under(mC, "ScanStat");
|
123
138
|
|
139
|
+
/**
|
140
|
+
* module encapsulating the SQLite3 C extension constants for Serialize
|
141
|
+
*/
|
142
|
+
VALUE mC_Serialize = rb_define_module_under(mC, "Serialize");
|
143
|
+
|
144
|
+
/**
|
145
|
+
* module encapsulating the SQLite3 C extension constants for Session
|
146
|
+
*/
|
147
|
+
VALUE mC_Session = rb_define_module_under(mC, "Session");
|
148
|
+
|
124
149
|
/**
|
125
150
|
* module encapsulating the SQLite3 C extension constants for StatementStatus
|
126
151
|
*/
|
@@ -146,6 +171,16 @@ void Init_amalgalite_constants( )
|
|
146
171
|
*/
|
147
172
|
VALUE mC_Trace = rb_define_module_under(mC, "Trace");
|
148
173
|
|
174
|
+
/**
|
175
|
+
* module encapsulating the SQLite3 C extension constants for Transaction
|
176
|
+
*/
|
177
|
+
VALUE mC_Transaction = rb_define_module_under(mC, "Transaction");
|
178
|
+
|
179
|
+
/**
|
180
|
+
* module encapsulating the SQLite3 C extension constants for Win32
|
181
|
+
*/
|
182
|
+
VALUE mC_Win32 = rb_define_module_under(mC, "Win32");
|
183
|
+
|
149
184
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
150
185
|
rb_define_const(mC_Access, "EXISTS", INT2FIX(SQLITE_ACCESS_EXISTS));
|
151
186
|
|
@@ -287,6 +322,15 @@ void Init_amalgalite_constants( )
|
|
287
322
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
288
323
|
rb_define_const(mC_Changeset, "REPLACE", INT2FIX(SQLITE_CHANGESET_REPLACE));
|
289
324
|
|
325
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
326
|
+
rb_define_const(mC_ChangesetApply, "INVERT", INT2FIX(SQLITE_CHANGESETAPPLY_INVERT));
|
327
|
+
|
328
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
329
|
+
rb_define_const(mC_ChangesetApply, "NOSAVEPOINT", INT2FIX(SQLITE_CHANGESETAPPLY_NOSAVEPOINT));
|
330
|
+
|
331
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
332
|
+
rb_define_const(mC_ChangesetStart, "INVERT", INT2FIX(SQLITE_CHANGESETSTART_INVERT));
|
333
|
+
|
290
334
|
/* 1 -- Wait for writers, then checkpoint */
|
291
335
|
rb_define_const(mC_Checkpoint, "FULL", INT2FIX(SQLITE_CHECKPOINT_FULL));
|
292
336
|
|
@@ -326,6 +370,9 @@ void Init_amalgalite_constants( )
|
|
326
370
|
/* 4 -- sqlite3_mem_methods* */
|
327
371
|
rb_define_const(mC_Config, "MALLOC", INT2FIX(SQLITE_CONFIG_MALLOC));
|
328
372
|
|
373
|
+
/* 29 -- sqlite3_int64 */
|
374
|
+
rb_define_const(mC_Config, "MEMDB_MAXSIZE", INT2FIX(SQLITE_CONFIG_MEMDB_MAXSIZE));
|
375
|
+
|
329
376
|
/* 9 -- boolean */
|
330
377
|
rb_define_const(mC_Config, "MEMSTATUS", INT2FIX(SQLITE_CONFIG_MEMSTATUS));
|
331
378
|
|
@@ -365,6 +412,9 @@ void Init_amalgalite_constants( )
|
|
365
412
|
/* 27 -- boolean */
|
366
413
|
rb_define_const(mC_Config, "SMALL_MALLOC", INT2FIX(SQLITE_CONFIG_SMALL_MALLOC));
|
367
414
|
|
415
|
+
/* 28 -- int nByte */
|
416
|
+
rb_define_const(mC_Config, "SORTERREF_SIZE", INT2FIX(SQLITE_CONFIG_SORTERREF_SIZE));
|
417
|
+
|
368
418
|
/* 21 -- xSqllog, void* */
|
369
419
|
rb_define_const(mC_Config, "SQLLOG", INT2FIX(SQLITE_CONFIG_SQLLOG));
|
370
420
|
|
@@ -377,6 +427,15 @@ void Init_amalgalite_constants( )
|
|
377
427
|
/* 23 -- int nByte */
|
378
428
|
rb_define_const(mC_Config, "WIN32_HEAPSIZE", INT2FIX(SQLITE_CONFIG_WIN32_HEAPSIZE));
|
379
429
|
|
430
|
+
/* 1010 -- int int* */
|
431
|
+
rb_define_const(mC_DBConfig, "DEFENSIVE", INT2FIX(SQLITE_DBCONFIG_DEFENSIVE));
|
432
|
+
|
433
|
+
/* 1014 -- int int* */
|
434
|
+
rb_define_const(mC_DBConfig, "DQS_DDL", INT2FIX(SQLITE_DBCONFIG_DQS_DDL));
|
435
|
+
|
436
|
+
/* 1013 -- int int* */
|
437
|
+
rb_define_const(mC_DBConfig, "DQS_DML", INT2FIX(SQLITE_DBCONFIG_DQS_DML));
|
438
|
+
|
380
439
|
/* 1002 -- int int* */
|
381
440
|
rb_define_const(mC_DBConfig, "ENABLE_FKEY", INT2FIX(SQLITE_DBCONFIG_ENABLE_FKEY));
|
382
441
|
|
@@ -392,21 +451,48 @@ void Init_amalgalite_constants( )
|
|
392
451
|
/* 1003 -- int int* */
|
393
452
|
rb_define_const(mC_DBConfig, "ENABLE_TRIGGER", INT2FIX(SQLITE_DBCONFIG_ENABLE_TRIGGER));
|
394
453
|
|
454
|
+
/* 1015 -- int int* */
|
455
|
+
rb_define_const(mC_DBConfig, "ENABLE_VIEW", INT2FIX(SQLITE_DBCONFIG_ENABLE_VIEW));
|
456
|
+
|
457
|
+
/* 1012 -- int int* */
|
458
|
+
rb_define_const(mC_DBConfig, "LEGACY_ALTER_TABLE", INT2FIX(SQLITE_DBCONFIG_LEGACY_ALTER_TABLE));
|
459
|
+
|
460
|
+
/* 1016 -- int int* */
|
461
|
+
rb_define_const(mC_DBConfig, "LEGACY_FILE_FORMAT", INT2FIX(SQLITE_DBCONFIG_LEGACY_FILE_FORMAT));
|
462
|
+
|
395
463
|
/* 1001 -- void* int int */
|
396
464
|
rb_define_const(mC_DBConfig, "LOOKASIDE", INT2FIX(SQLITE_DBCONFIG_LOOKASIDE));
|
397
465
|
|
398
466
|
/* 1000 -- const char* */
|
399
467
|
rb_define_const(mC_DBConfig, "MAINDBNAME", INT2FIX(SQLITE_DBCONFIG_MAINDBNAME));
|
400
468
|
|
469
|
+
/* 1017 -- Largest DBCONFIG */
|
470
|
+
rb_define_const(mC_DBConfig, "MAX", INT2FIX(SQLITE_DBCONFIG_MAX));
|
471
|
+
|
401
472
|
/* 1006 -- int int* */
|
402
473
|
rb_define_const(mC_DBConfig, "NO_CKPT_ON_CLOSE", INT2FIX(SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE));
|
403
474
|
|
475
|
+
/* 1009 -- int int* */
|
476
|
+
rb_define_const(mC_DBConfig, "RESET_DATABASE", INT2FIX(SQLITE_DBCONFIG_RESET_DATABASE));
|
477
|
+
|
478
|
+
/* 1008 -- int int* */
|
479
|
+
rb_define_const(mC_DBConfig, "TRIGGER_EQP", INT2FIX(SQLITE_DBCONFIG_TRIGGER_EQP));
|
480
|
+
|
481
|
+
/* 1017 -- int int* */
|
482
|
+
rb_define_const(mC_DBConfig, "TRUSTED_SCHEMA", INT2FIX(SQLITE_DBCONFIG_TRUSTED_SCHEMA));
|
483
|
+
|
484
|
+
/* 1011 -- int int* */
|
485
|
+
rb_define_const(mC_DBConfig, "WRITABLE_SCHEMA", INT2FIX(SQLITE_DBCONFIG_WRITABLE_SCHEMA));
|
486
|
+
|
404
487
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
405
488
|
rb_define_const(mC_DBStatus, "CACHE_HIT", INT2FIX(SQLITE_DBSTATUS_CACHE_HIT));
|
406
489
|
|
407
490
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
408
491
|
rb_define_const(mC_DBStatus, "CACHE_MISS", INT2FIX(SQLITE_DBSTATUS_CACHE_MISS));
|
409
492
|
|
493
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
494
|
+
rb_define_const(mC_DBStatus, "CACHE_SPILL", INT2FIX(SQLITE_DBSTATUS_CACHE_SPILL));
|
495
|
+
|
410
496
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
411
497
|
rb_define_const(mC_DBStatus, "CACHE_USED", INT2FIX(SQLITE_DBSTATUS_CACHE_USED));
|
412
498
|
|
@@ -431,7 +517,7 @@ void Init_amalgalite_constants( )
|
|
431
517
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
432
518
|
rb_define_const(mC_DBStatus, "LOOKASIDE_USED", INT2FIX(SQLITE_DBSTATUS_LOOKASIDE_USED));
|
433
519
|
|
434
|
-
/*
|
520
|
+
/* 12 -- Largest defined DBSTATUS */
|
435
521
|
rb_define_const(mC_DBStatus, "MAX", INT2FIX(SQLITE_DBSTATUS_MAX));
|
436
522
|
|
437
523
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
@@ -455,6 +541,15 @@ void Init_amalgalite_constants( )
|
|
455
541
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
456
542
|
rb_define_const(mC_DataType, "NULL", INT2FIX(SQLITE_NULL));
|
457
543
|
|
544
|
+
/* 1 -- Call sqlite3_free() on close */
|
545
|
+
rb_define_const(mC_Deserialize, "FREEONCLOSE", INT2FIX(SQLITE_DESERIALIZE_FREEONCLOSE));
|
546
|
+
|
547
|
+
/* 4 -- Database is read-only */
|
548
|
+
rb_define_const(mC_Deserialize, "READONLY", INT2FIX(SQLITE_DESERIALIZE_READONLY));
|
549
|
+
|
550
|
+
/* 2 -- Resize using sqlite3_realloc64() */
|
551
|
+
rb_define_const(mC_Deserialize, "RESIZEABLE", INT2FIX(SQLITE_DESERIALIZE_RESIZEABLE));
|
552
|
+
|
458
553
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
459
554
|
rb_define_const(mC_FTS5, "TOKENIZE_AUX", INT2FIX(FTS5_TOKENIZE_AUX));
|
460
555
|
|
@@ -479,12 +574,21 @@ void Init_amalgalite_constants( )
|
|
479
574
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
480
575
|
rb_define_const(mC_Fcntl, "CHUNK_SIZE", INT2FIX(SQLITE_FCNTL_CHUNK_SIZE));
|
481
576
|
|
577
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
578
|
+
rb_define_const(mC_Fcntl, "CKPT_DONE", INT2FIX(SQLITE_FCNTL_CKPT_DONE));
|
579
|
+
|
580
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
581
|
+
rb_define_const(mC_Fcntl, "CKPT_START", INT2FIX(SQLITE_FCNTL_CKPT_START));
|
582
|
+
|
482
583
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
483
584
|
rb_define_const(mC_Fcntl, "COMMIT_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_COMMIT_ATOMIC_WRITE));
|
484
585
|
|
485
586
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
486
587
|
rb_define_const(mC_Fcntl, "COMMIT_PHASETWO", INT2FIX(SQLITE_FCNTL_COMMIT_PHASETWO));
|
487
588
|
|
589
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
590
|
+
rb_define_const(mC_Fcntl, "DATA_VERSION", INT2FIX(SQLITE_FCNTL_DATA_VERSION));
|
591
|
+
|
488
592
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
489
593
|
rb_define_const(mC_Fcntl, "FILE_POINTER", INT2FIX(SQLITE_FCNTL_FILE_POINTER));
|
490
594
|
|
@@ -503,6 +607,9 @@ void Init_amalgalite_constants( )
|
|
503
607
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
504
608
|
rb_define_const(mC_Fcntl, "LOCKSTATE", INT2FIX(SQLITE_FCNTL_LOCKSTATE));
|
505
609
|
|
610
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
611
|
+
rb_define_const(mC_Fcntl, "LOCK_TIMEOUT", INT2FIX(SQLITE_FCNTL_LOCK_TIMEOUT));
|
612
|
+
|
506
613
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
507
614
|
rb_define_const(mC_Fcntl, "MMAP_SIZE", INT2FIX(SQLITE_FCNTL_MMAP_SIZE));
|
508
615
|
|
@@ -524,6 +631,9 @@ void Init_amalgalite_constants( )
|
|
524
631
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
525
632
|
rb_define_const(mC_Fcntl, "RBU", INT2FIX(SQLITE_FCNTL_RBU));
|
526
633
|
|
634
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
635
|
+
rb_define_const(mC_Fcntl, "RESERVE_BYTES", INT2FIX(SQLITE_FCNTL_RESERVE_BYTES));
|
636
|
+
|
527
637
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
528
638
|
rb_define_const(mC_Fcntl, "ROLLBACK_ATOMIC_WRITE", INT2FIX(SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE));
|
529
639
|
|
@@ -533,6 +643,9 @@ void Init_amalgalite_constants( )
|
|
533
643
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
534
644
|
rb_define_const(mC_Fcntl, "SIZE_HINT", INT2FIX(SQLITE_FCNTL_SIZE_HINT));
|
535
645
|
|
646
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
647
|
+
rb_define_const(mC_Fcntl, "SIZE_LIMIT", INT2FIX(SQLITE_FCNTL_SIZE_LIMIT));
|
648
|
+
|
536
649
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
537
650
|
rb_define_const(mC_Fcntl, "SYNC", INT2FIX(SQLITE_FCNTL_SYNC));
|
538
651
|
|
@@ -614,6 +727,9 @@ void Init_amalgalite_constants( )
|
|
614
727
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
615
728
|
rb_define_const(mC_Index, "CONSTRAINT_EQ", INT2FIX(SQLITE_INDEX_CONSTRAINT_EQ));
|
616
729
|
|
730
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
731
|
+
rb_define_const(mC_Index, "CONSTRAINT_FUNCTION", INT2FIX(SQLITE_INDEX_CONSTRAINT_FUNCTION));
|
732
|
+
|
617
733
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
618
734
|
rb_define_const(mC_Index, "CONSTRAINT_GE", INT2FIX(SQLITE_INDEX_CONSTRAINT_GE));
|
619
735
|
|
@@ -728,6 +844,9 @@ void Init_amalgalite_constants( )
|
|
728
844
|
/* 7 -- NOT USED */
|
729
845
|
rb_define_const(mC_Mutex, "STATIC_LRU2", INT2FIX(SQLITE_MUTEX_STATIC_LRU2));
|
730
846
|
|
847
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
848
|
+
rb_define_const(mC_Mutex, "STATIC_MAIN", INT2FIX(SQLITE_MUTEX_STATIC_MAIN));
|
849
|
+
|
731
850
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
732
851
|
rb_define_const(mC_Mutex, "STATIC_MASTER", INT2FIX(SQLITE_MUTEX_STATIC_MASTER));
|
733
852
|
|
@@ -782,6 +901,9 @@ void Init_amalgalite_constants( )
|
|
782
901
|
/* 0x00000080 -- Ok for sqlite3_open_v2() */
|
783
902
|
rb_define_const(mC_Open, "MEMORY", INT2FIX(SQLITE_OPEN_MEMORY));
|
784
903
|
|
904
|
+
/* 0x01000000 -- Ok for sqlite3_open_v2() */
|
905
|
+
rb_define_const(mC_Open, "NOFOLLOW", INT2FIX(SQLITE_OPEN_NOFOLLOW));
|
906
|
+
|
785
907
|
/* 0x00008000 -- Ok for sqlite3_open_v2() */
|
786
908
|
rb_define_const(mC_Open, "NOMUTEX", INT2FIX(SQLITE_OPEN_NOMUTEX));
|
787
909
|
|
@@ -800,6 +922,9 @@ void Init_amalgalite_constants( )
|
|
800
922
|
/* 0x00002000 -- VFS only */
|
801
923
|
rb_define_const(mC_Open, "SUBJOURNAL", INT2FIX(SQLITE_OPEN_SUBJOURNAL));
|
802
924
|
|
925
|
+
/* 0x00004000 -- VFS only */
|
926
|
+
rb_define_const(mC_Open, "SUPER_JOURNAL", INT2FIX(SQLITE_OPEN_SUPER_JOURNAL));
|
927
|
+
|
803
928
|
/* 0x00000200 -- VFS only */
|
804
929
|
rb_define_const(mC_Open, "TEMP_DB", INT2FIX(SQLITE_OPEN_TEMP_DB));
|
805
930
|
|
@@ -815,6 +940,12 @@ void Init_amalgalite_constants( )
|
|
815
940
|
/* 0x00080000 -- VFS only */
|
816
941
|
rb_define_const(mC_Open, "WAL", INT2FIX(SQLITE_OPEN_WAL));
|
817
942
|
|
943
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
944
|
+
rb_define_const(mC_Prepare, "NORMALIZE", INT2FIX(SQLITE_PREPARE_NORMALIZE));
|
945
|
+
|
946
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
947
|
+
rb_define_const(mC_Prepare, "NO_VTAB", INT2FIX(SQLITE_PREPARE_NO_VTAB));
|
948
|
+
|
818
949
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
819
950
|
rb_define_const(mC_Prepare, "PERSISTENT", INT2FIX(SQLITE_PREPARE_PERSISTENT));
|
820
951
|
|
@@ -848,12 +979,18 @@ void Init_amalgalite_constants( )
|
|
848
979
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
849
980
|
rb_define_const(mC_ResultCode, "BUSY_SNAPSHOT", INT2FIX(SQLITE_BUSY_SNAPSHOT));
|
850
981
|
|
982
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
983
|
+
rb_define_const(mC_ResultCode, "BUSY_TIMEOUT", INT2FIX(SQLITE_BUSY_TIMEOUT));
|
984
|
+
|
851
985
|
/* 14 -- Unable to open the database file */
|
852
986
|
rb_define_const(mC_ResultCode, "CANTOPEN", INT2FIX(SQLITE_CANTOPEN));
|
853
987
|
|
854
988
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
855
989
|
rb_define_const(mC_ResultCode, "CANTOPEN_CONVPATH", INT2FIX(SQLITE_CANTOPEN_CONVPATH));
|
856
990
|
|
991
|
+
/* (SQLITE_CANTOPEN | (5<<8)) -- Not Used */
|
992
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_DIRTYWAL", INT2FIX(SQLITE_CANTOPEN_DIRTYWAL));
|
993
|
+
|
857
994
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
858
995
|
rb_define_const(mC_ResultCode, "CANTOPEN_FULLPATH", INT2FIX(SQLITE_CANTOPEN_FULLPATH));
|
859
996
|
|
@@ -863,6 +1000,9 @@ void Init_amalgalite_constants( )
|
|
863
1000
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
864
1001
|
rb_define_const(mC_ResultCode, "CANTOPEN_NOTEMPDIR", INT2FIX(SQLITE_CANTOPEN_NOTEMPDIR));
|
865
1002
|
|
1003
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1004
|
+
rb_define_const(mC_ResultCode, "CANTOPEN_SYMLINK", INT2FIX(SQLITE_CANTOPEN_SYMLINK));
|
1005
|
+
|
866
1006
|
/* 19 -- Abort due to constraint violation */
|
867
1007
|
rb_define_const(mC_ResultCode, "CONSTRAINT", INT2FIX(SQLITE_CONSTRAINT));
|
868
1008
|
|
@@ -881,6 +1021,9 @@ void Init_amalgalite_constants( )
|
|
881
1021
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
882
1022
|
rb_define_const(mC_ResultCode, "CONSTRAINT_NOTNULL", INT2FIX(SQLITE_CONSTRAINT_NOTNULL));
|
883
1023
|
|
1024
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1025
|
+
rb_define_const(mC_ResultCode, "CONSTRAINT_PINNED", INT2FIX(SQLITE_CONSTRAINT_PINNED));
|
1026
|
+
|
884
1027
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
885
1028
|
rb_define_const(mC_ResultCode, "CONSTRAINT_PRIMARYKEY", INT2FIX(SQLITE_CONSTRAINT_PRIMARYKEY));
|
886
1029
|
|
@@ -899,6 +1042,12 @@ void Init_amalgalite_constants( )
|
|
899
1042
|
/* 11 -- The database disk image is malformed */
|
900
1043
|
rb_define_const(mC_ResultCode, "CORRUPT", INT2FIX(SQLITE_CORRUPT));
|
901
1044
|
|
1045
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1046
|
+
rb_define_const(mC_ResultCode, "CORRUPT_INDEX", INT2FIX(SQLITE_CORRUPT_INDEX));
|
1047
|
+
|
1048
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1049
|
+
rb_define_const(mC_ResultCode, "CORRUPT_SEQUENCE", INT2FIX(SQLITE_CORRUPT_SEQUENCE));
|
1050
|
+
|
902
1051
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
903
1052
|
rb_define_const(mC_ResultCode, "CORRUPT_VTAB", INT2FIX(SQLITE_CORRUPT_VTAB));
|
904
1053
|
|
@@ -911,6 +1060,15 @@ void Init_amalgalite_constants( )
|
|
911
1060
|
/* 1 -- Generic error */
|
912
1061
|
rb_define_const(mC_ResultCode, "ERROR", INT2FIX(SQLITE_ERROR));
|
913
1062
|
|
1063
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1064
|
+
rb_define_const(mC_ResultCode, "ERROR_MISSING_COLLSEQ", INT2FIX(SQLITE_ERROR_MISSING_COLLSEQ));
|
1065
|
+
|
1066
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1067
|
+
rb_define_const(mC_ResultCode, "ERROR_RETRY", INT2FIX(SQLITE_ERROR_RETRY));
|
1068
|
+
|
1069
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1070
|
+
rb_define_const(mC_ResultCode, "ERROR_SNAPSHOT", INT2FIX(SQLITE_ERROR_SNAPSHOT));
|
1071
|
+
|
914
1072
|
/* 24 -- Not used */
|
915
1073
|
rb_define_const(mC_ResultCode, "FORMAT", INT2FIX(SQLITE_FORMAT));
|
916
1074
|
|
@@ -950,6 +1108,12 @@ void Init_amalgalite_constants( )
|
|
950
1108
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
951
1109
|
rb_define_const(mC_ResultCode, "IOERR_CONVPATH", INT2FIX(SQLITE_IOERR_CONVPATH));
|
952
1110
|
|
1111
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1112
|
+
rb_define_const(mC_ResultCode, "IOERR_CORRUPTFS", INT2FIX(SQLITE_IOERR_CORRUPTFS));
|
1113
|
+
|
1114
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1115
|
+
rb_define_const(mC_ResultCode, "IOERR_DATA", INT2FIX(SQLITE_IOERR_DATA));
|
1116
|
+
|
953
1117
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
954
1118
|
rb_define_const(mC_ResultCode, "IOERR_DELETE", INT2FIX(SQLITE_IOERR_DELETE));
|
955
1119
|
|
@@ -1025,6 +1189,9 @@ void Init_amalgalite_constants( )
|
|
1025
1189
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1026
1190
|
rb_define_const(mC_ResultCode, "LOCKED_SHAREDCACHE", INT2FIX(SQLITE_LOCKED_SHAREDCACHE));
|
1027
1191
|
|
1192
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1193
|
+
rb_define_const(mC_ResultCode, "LOCKED_VTAB", INT2FIX(SQLITE_LOCKED_VTAB));
|
1194
|
+
|
1028
1195
|
/* 20 -- Data type mismatch */
|
1029
1196
|
rb_define_const(mC_ResultCode, "MISMATCH", INT2FIX(SQLITE_MISMATCH));
|
1030
1197
|
|
@@ -1058,6 +1225,9 @@ void Init_amalgalite_constants( )
|
|
1058
1225
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1059
1226
|
rb_define_const(mC_ResultCode, "OK_LOAD_PERMANENTLY", INT2FIX(SQLITE_OK_LOAD_PERMANENTLY));
|
1060
1227
|
|
1228
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1229
|
+
rb_define_const(mC_ResultCode, "OK_SYMLINK", INT2FIX(SQLITE_OK_SYMLINK));
|
1230
|
+
|
1061
1231
|
/* 3 -- Access permission denied */
|
1062
1232
|
rb_define_const(mC_ResultCode, "PERM", INT2FIX(SQLITE_PERM));
|
1063
1233
|
|
@@ -1070,12 +1240,18 @@ void Init_amalgalite_constants( )
|
|
1070
1240
|
/* 8 -- Attempt to write a readonly database */
|
1071
1241
|
rb_define_const(mC_ResultCode, "READONLY", INT2FIX(SQLITE_READONLY));
|
1072
1242
|
|
1243
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1244
|
+
rb_define_const(mC_ResultCode, "READONLY_CANTINIT", INT2FIX(SQLITE_READONLY_CANTINIT));
|
1245
|
+
|
1073
1246
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1074
1247
|
rb_define_const(mC_ResultCode, "READONLY_CANTLOCK", INT2FIX(SQLITE_READONLY_CANTLOCK));
|
1075
1248
|
|
1076
1249
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1077
1250
|
rb_define_const(mC_ResultCode, "READONLY_DBMOVED", INT2FIX(SQLITE_READONLY_DBMOVED));
|
1078
1251
|
|
1252
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1253
|
+
rb_define_const(mC_ResultCode, "READONLY_DIRECTORY", INT2FIX(SQLITE_READONLY_DIRECTORY));
|
1254
|
+
|
1079
1255
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1080
1256
|
rb_define_const(mC_ResultCode, "READONLY_RECOVERY", INT2FIX(SQLITE_READONLY_RECOVERY));
|
1081
1257
|
|
@@ -1130,6 +1306,12 @@ void Init_amalgalite_constants( )
|
|
1130
1306
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1131
1307
|
rb_define_const(mC_ScanStat, "SELECTID", INT2FIX(SQLITE_SCANSTAT_SELECTID));
|
1132
1308
|
|
1309
|
+
/* 0x001 -- Do no memory allocations */
|
1310
|
+
rb_define_const(mC_Serialize, "NOCOPY", INT2FIX(SQLITE_SERIALIZE_NOCOPY));
|
1311
|
+
|
1312
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1313
|
+
rb_define_const(mC_Session, "CONFIG_STRMSIZE", INT2FIX(SQLITE_SESSION_CONFIG_STRMSIZE));
|
1314
|
+
|
1133
1315
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1134
1316
|
rb_define_const(mC_StatementStatus, "AUTOINDEX", INT2FIX(SQLITE_STMTSTATUS_AUTOINDEX));
|
1135
1317
|
|
@@ -1196,6 +1378,15 @@ void Init_amalgalite_constants( )
|
|
1196
1378
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1197
1379
|
rb_define_const(mC_TextEncoding, "DETERMINISTIC", INT2FIX(SQLITE_DETERMINISTIC));
|
1198
1380
|
|
1381
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1382
|
+
rb_define_const(mC_TextEncoding, "DIRECTONLY", INT2FIX(SQLITE_DIRECTONLY));
|
1383
|
+
|
1384
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1385
|
+
rb_define_const(mC_TextEncoding, "INNOCUOUS", INT2FIX(SQLITE_INNOCUOUS));
|
1386
|
+
|
1387
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1388
|
+
rb_define_const(mC_TextEncoding, "SUBTYPE", INT2FIX(SQLITE_SUBTYPE));
|
1389
|
+
|
1199
1390
|
/* 4 -- Use native byte order */
|
1200
1391
|
rb_define_const(mC_TextEncoding, "UTF16", INT2FIX(SQLITE_UTF16));
|
1201
1392
|
|
@@ -1223,4 +1414,19 @@ void Init_amalgalite_constants( )
|
|
1223
1414
|
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1224
1415
|
rb_define_const(mC_Trace, "STMT", INT2FIX(SQLITE_TRACE_STMT));
|
1225
1416
|
|
1417
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1418
|
+
rb_define_const(mC_Transaction, "NONE", INT2FIX(SQLITE_TXN_NONE));
|
1419
|
+
|
1420
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1421
|
+
rb_define_const(mC_Transaction, "READ", INT2FIX(SQLITE_TXN_READ));
|
1422
|
+
|
1423
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1424
|
+
rb_define_const(mC_Transaction, "WRITE", INT2FIX(SQLITE_TXN_WRITE));
|
1425
|
+
|
1426
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1427
|
+
rb_define_const(mC_Win32, "DATA_DIRECTORY_TYPE", INT2FIX(SQLITE_WIN32_DATA_DIRECTORY_TYPE));
|
1428
|
+
|
1429
|
+
/* no meaningful autogenerated documentation -- constant is self explanatory ?*/
|
1430
|
+
rb_define_const(mC_Win32, "TEMP_DIRECTORY_TYPE", INT2FIX(SQLITE_WIN32_TEMP_DIRECTORY_TYPE));
|
1431
|
+
|
1226
1432
|
}
|