drh
6f82e85a80
Split out the bulk of the actual VDBE code generation logic from where.c
...
into a new file, leaving behind the analysis logic. This makes the original
where.c smaller and hopefully easier to edit.
FossilOrigin-Name: faa0e420e93a2bc1c84df9eb9fef4748d29ce339
2015-06-06 20:12:09 +00:00
dan
167fd757f0
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: c9ffda4abb4390bbc5719e269196e2807b254f97
2015-06-02 18:07:58 +00:00
dan
3f3074e0c1
Remove the "#include sqlite3Int.h" from fts5Int.h.
...
FossilOrigin-Name: e008c3c8e29c843ec945ddad54b9688bbf2bdb44
2015-05-30 11:49:58 +00:00
drh
ad2c1dd782
Import recent enhancements from trunk.
...
FossilOrigin-Name: 54bec164ebeaf62d783352b3c4d0de8845394091
2015-05-29 19:04:58 +00:00
drh
1421d980c5
Add the "PRAGMA cell_size_check=ON" command.
...
FossilOrigin-Name: 2ead43f074d01312c7642e1df9abccc95547f019
2015-05-27 03:46:18 +00:00
drh
eafdd67242
Merge bug fixes from trunk.
...
FossilOrigin-Name: 519054bb72e8f8977b11161c81b0e96ba7bca589
2015-05-22 23:51:30 +00:00
drh
c19bc9b6b0
Improved error messages in fuzzershell when unable to open the database.
...
FossilOrigin-Name: c404fcace83613a50015f15097b7f28123c221c3
2015-05-22 23:50:19 +00:00
drh
f9def06160
Fix a bug in fuzzershell caused by an uninitialized local variable.
...
FossilOrigin-Name: 745deab87adc378a5376aaa9451fb9485bc2f4c4
2015-05-22 23:45:56 +00:00
drh
893ca50d0f
Merge enhancements from trunk, including the new sqlite3_value_dup() API and
...
the addition of the apSqlParam field in the sqlite3_rtree_query_info object
of R-Tree.
FossilOrigin-Name: cdc0ca6fb36e787b981fb544a27c6df838f85704
2015-05-22 23:26:18 +00:00
drh
acd3374556
Add the --database option to the fuzzershell test program.
...
FossilOrigin-Name: c6d5512f4b8b1237fa4cf5f3f2eae19b160bcf26
2015-05-22 11:38:22 +00:00
drh
adf3bf5811
Merge recent trunk changes, include the R-Tree enhancement that allows
...
8-byte BLOB arguments to geometry functions, and the fix for the TEXT affinity
problem that could cause corrupt indexes.
FossilOrigin-Name: 0a0de8b72ca24f287f9c84766a14e12ea4564b59
2015-05-19 22:42:23 +00:00
drh
5f9a57fc49
Merge in the IS-operator enhancements and other recent changes from trunk.
...
FossilOrigin-Name: 4f9229445c293b39c80b2a662901f608c85b36ef
2015-05-14 15:17:20 +00:00
dan
8255079611
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 299ed55c909d327826ef47e204ef1e9afd54852b
2015-05-14 08:58:52 +00:00
dan
5d03b9d365
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: b5f0e8c5b4bc018d672617ffd342d12b228548b9
2015-05-13 18:12:58 +00:00
dan
23d538885e
Change fts5 doclist-index structures to be trees instead of flat lists. This only makes a difference for databases that contain millions of instances of the same token.
...
FossilOrigin-Name: aa34bf666c384cf32a8d8166ab6d9afbca26a256
2015-05-13 17:15:32 +00:00
drh
6582ae520f
Try to get recent sqlite3_analyzer and sqldiff tests working for all
...
tested combinations of compile-time options, especially
SQLITE_OMIT_VIRTUALTABLE and SQLITE_OMIT_LOAD_EXTENSION.
FossilOrigin-Name: 07c7d3925cbcf44c2f606c7f016ec56304e0ca24
2015-05-12 12:24:50 +00:00
drh
aa62e48cab
Fix sqldiff.exe so that it always runs in single-thread mode.
...
FossilOrigin-Name: c223910e726131d7b718b556c83df5faa723369d
2015-05-12 00:46:40 +00:00
drh
d13b231923
Test cases for sqlite3_analyzer and sqldiff. Fix a problem with
...
sqlite3_analyzer related to the renaming of the initialization routine.
FossilOrigin-Name: 85a4a46c3bb9fd8124969c9e975086c795113b7e
2015-05-11 17:46:14 +00:00
drh
d689fd3a92
Merge all trunk enhancements and fixes into the sessions branch.
...
FossilOrigin-Name: de7083cfe2bb00b689bec6bcc75e994f564ceda6
2015-05-05 17:12:27 +00:00
drh
1a4a680a38
Rename the test_stat.c source file to dbstat.c and rework the makefiles to
...
make dbstat.c a first-class source module.
FossilOrigin-Name: a24480a474993f82ff58edbe12d2093c59b1a2dc
2015-05-04 18:31:09 +00:00
drh
84ab95395e
Include the "dbstat" virtual table in the amalgamation.
...
FossilOrigin-Name: fc6504aa8ca19b3737f72c1e20db8df6b7608dd2
2015-05-04 17:06:39 +00:00
drh
33aa4dbe44
Fix a bug in --changeset output for sqldiff.exe for floating-point values.
...
Also fix harmless compiler warnings in sqldiff.exe.
FossilOrigin-Name: 9f428530f9a6cb54f0a2fc3e666c38c7c093558a
2015-05-04 15:04:47 +00:00
drh
9a9219ff24
Add the --lib option to the sqldiff.exe command-line utility.
...
FossilOrigin-Name: a117e8f6bd60ed7f6e4cdcd2ee8d624fe040f7ab
2015-05-04 13:25:56 +00:00
drh
1a57c17d0f
Improvements to fuzzershell: Avoid excess memory allocations when loading
...
many files. Show the total runtime on final output. Show individual filenames
as they are processed even if they are single test-case files.
FossilOrigin-Name: 34a722a2f3331c35211526c9ec055d4d9175c965
2015-05-02 19:54:35 +00:00
drh
c843016e36
Enhance the fuzzershell --uniquecases option to output results in order of
...
increasing runtime and to include the runtime in the comment separator of
the output.
FossilOrigin-Name: 04630b989d8794b9ed2553f4d223de2b322437c5
2015-05-01 20:34:47 +00:00
drh
b3df0c675c
Enhance fuzzershell to accept multiple input files. Add the test/fuzzdata2.txt
...
fuzz test content.
FossilOrigin-Name: ab5523aafe4817232388d28ea99be0953e7dccf3
2015-05-01 19:21:12 +00:00
drh
b3f3d64b4b
Fix compiler warnings in sqldiff.
...
FossilOrigin-Name: 5f48d6f6c0a573ecc5bd42cb6c019288e22d295f
2015-04-25 18:39:21 +00:00
drh
7c84c02ce3
Fuzzershell: change the error summary output to work with releasetest.tcl.
...
Reduce the maximum number of OOM interations.
FossilOrigin-Name: f5e6c4b28d25429aac53ea8cb334a2e6bd821f39
2015-04-25 16:39:49 +00:00
drh
f332071b7f
Add the fuzzoomtest target to the makefiles. Invoke fuzzoomtest from
...
releasetest.tcl.
FossilOrigin-Name: f60657c2ae8a11f1e546c953bca07d9396142f73
2015-04-25 13:39:29 +00:00
drh
be5248f084
In fuzzershell: (1) comment fixes. (2) Set and clear g.zTestName[] correctly.
...
(3) Use the value in g.zTestName[] in error messages.
FossilOrigin-Name: b7394755fab81329d56bad1b506e536b2fcbe8cd
2015-04-25 11:35:48 +00:00
drh
0ee751fb67
In the fuzzershell, always invoke the trace and log callbacks even if output
...
is suppressed. Keep track of the current test name in a global variable
for simplified debugging.
FossilOrigin-Name: 3045f454817f657df801358c40c665b0b0d73c1f
2015-04-25 11:19:51 +00:00
drh
9f18f7434e
Add fflush() calls to fuzzershell to keep stderr and stdout synchronized.
...
FossilOrigin-Name: 2b98a25237d1b3e64aec2772b622e8b3be2df454
2015-04-25 00:20:15 +00:00
drh
048810b63b
Add the --oom option to fuzzershell.
...
FossilOrigin-Name: 14a9e4a377bf2974f5db148c8f86e2c5ffdfa28d
2015-04-24 23:45:23 +00:00
dan
ef8b74324d
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 1c78d8920fb59da3cb97dd2eb09b3e08dfd14259
2015-04-24 20:18:21 +00:00
drh
61a0d6bc55
Fix fuzzershell so that it works with SQLITE_OMIT_TRACE.
...
FossilOrigin-Name: dc88fe7e641c52d27fba8c753cee590db87388c5
2015-04-24 18:31:12 +00:00
drh
8ea5eca183
Run fuzzershell as part of the valgrindtest makefile target.
...
FossilOrigin-Name: 0bb96a037bd7179cb3a6137bb29827fc7d72ec3f
2015-04-24 16:53:03 +00:00
drh
e1a71a582f
Add AFL-generated test cases in the test/fuzzdata1.txt file. Automatically
...
run fuzzershell against those cases on a "make test".
FossilOrigin-Name: 627ea83c26b420088f101801eb8765127f47d2d0
2015-04-24 16:09:12 +00:00
drh
875bafa17a
Add the --unique-cases option to fuzzershell.
...
FossilOrigin-Name: 7cb718491b5de77d4a73d8484324b66a36815019
2015-04-24 14:47:59 +00:00
drh
1cbb7fa95c
Fuzzershell enhancements: (1) Add the --verbose and --quiet flags
...
(2) Show percentage complete and final test count for multi-test inputs
(3) Omit trace and result logs unless the --verbose flag is used.
FossilOrigin-Name: ed202ffac2eb85be9a18dca2a051ea3be16f8893
2015-04-24 13:00:59 +00:00
dan
e11afed562
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: 1506e99eca19f72fb59b55ec9e2534505dfa7a6e
2015-04-23 19:32:19 +00:00
drh
6ea60c7c53
Merge the latest trunk enhancements and fixes into the sessions branch.
...
FossilOrigin-Name: 4e5f17d189eb0578a544c21fc150f9e2ee3428e3
2015-04-23 13:49:53 +00:00
drh
0ba51089c8
Improved filtering of input for fuzzershell for modes other than generic.
...
FossilOrigin-Name: 025e8370dde2918b66683f8d7fa9c7d23d03c9b4
2015-04-22 13:16:46 +00:00
drh
3fb2cc1173
Change the printf, strftime, and glob modes of fuzzershell so that they
...
reject all inputs that do not start with a string literal followed by a
comma. This helps the fuzzer focus in on the kinds of behavior those modes
are intended to test.
FossilOrigin-Name: 1cceefa7c6585bca786fe9f7118f7beb829ad709
2015-04-22 11:16:34 +00:00
dan
062c267dff
Update this branch with latest trunk changes.
...
FossilOrigin-Name: 9797482ded7de985e3b20aedec5e4d81f55065c8
2015-04-22 09:40:35 +00:00
mistachkin
318d38cf7e
When compiling for UAP, link against the new minimal MSVC runtime.
...
FossilOrigin-Name: 2cb945116e7a5b78741b19839899826b539d5868
2015-04-22 01:33:53 +00:00
mistachkin
76f6a130a9
Enable compilation and VSIX package creation with the Visual Studio 2015 CTP.
...
FossilOrigin-Name: 03b725a768290e3c7b31f1ba3310532fd7dc05cd
2015-04-21 00:23:38 +00:00
drh
9985dabbac
Add the --mode option to fuzzershell.
...
FossilOrigin-Name: b940b0fa6cf68fef58344d269ad5d39468ffe72f
2015-04-20 22:36:49 +00:00
drh
4a74d076e3
Many new configuration options for fuzzershell.
...
FossilOrigin-Name: 41c954391690833bf2ece4ea14457ee4bdd74e90
2015-04-20 18:58:38 +00:00
drh
f34e9aabd8
Enhance fuzzershell to support multiple blocks of SQL, each run in its own
...
private in-memory database.
FossilOrigin-Name: ab0a96ca73cfe92d5a837c71c148e8361f42acc3
2015-04-20 12:50:13 +00:00
drh
850b0d031d
Merge all recent trunk enhancements and fixes into the sessions branch.
...
FossilOrigin-Name: b8ef1cdee307441e8d97b4bfc21f8547692eea9f
2015-04-20 01:32:53 +00:00
mistachkin
f659cf48e8
Modify the 'mkvsix' tool itself to support the Visual Studio 2015 CTP.
...
FossilOrigin-Name: e0b7a191f3c22d9eacf645c58be59e0fdcb8860d
2015-04-19 23:39:05 +00:00
mistachkin
8e18922f12
Fix harmless compiler warnings seen with MSVC 2015.
...
FossilOrigin-Name: d05becd873a03a366843a34e7f4c732dd8f88c86
2015-04-19 21:43:16 +00:00
mistachkin
1c89a7710e
Document the NMAKE_ARGS environment variable as well.
...
FossilOrigin-Name: 977fd39c1509edec2e28cc8bac64e0994699f398
2015-04-19 19:53:43 +00:00
mistachkin
88eb7fa328
Improve documentation and comments in the MSVC batch build tool.
...
FossilOrigin-Name: ca64ef079811006f3e0526919871ffd286c3e714
2015-04-19 18:58:29 +00:00
mistachkin
6bbe3dfaf2
Work in progress on making VSIX packages for the Visual Studio 2015 CTP.
...
FossilOrigin-Name: 8469d651a0442a2bc572a869a0457a6ea8c06bc7
2015-04-19 06:18:10 +00:00
drh
268e72f936
Add the tool/fuzzershell.c utility program.
...
FossilOrigin-Name: db8d9af4d04ee862995ffa13ae6dcd9a1fc72855
2015-04-17 14:30:49 +00:00
drh
50be9c4b28
Fix the header comment on the sqldiff utility program. No code changes.
...
FossilOrigin-Name: b355ca3a3f617cd6d4c45c8e27ecd75d9e68b792
2015-04-17 12:16:09 +00:00
drh
748c7357ab
Enhance the showdb utility program so that it can read the last partial page
...
of a truncated database file.
FossilOrigin-Name: 61d72e17916bc043ce53c64e5ba7050a9bae554e
2015-04-15 15:29:05 +00:00
drh
fdb031891c
Merge all recent trunk enhancements and fixes into the ota-update branch.
...
FossilOrigin-Name: 9bd3e4453d4ad416f7e3f08f0bd283d34f1c319c
2015-04-15 14:26:04 +00:00
drh
ff363ee121
Merge all recent trunk fixes and enhancements into the sessions branch.
...
FossilOrigin-Name: e65e65f9bc9b4bf5c9dd6e3a77a0d5f03c40e006
2015-04-15 14:14:38 +00:00
drh
8a1cd765df
Add the --summary option to the sqldiff command-line tool.
...
FossilOrigin-Name: 88b22761c59b06fa86c57f8d22a46046ad17d5d5
2015-04-14 19:01:08 +00:00
drh
df3c171881
Merge all recent trunk enhancements into the sessions branch.
...
FossilOrigin-Name: 5f14f34f072921e229bc20a5185c0cdb3f464c04
2015-04-12 01:33:37 +00:00
drh
6e42ce44db
The --changeset option now appears to be working.
...
FossilOrigin-Name: 1a2e2803920dcf64190d81d8a487d6c3c9bb28ee
2015-04-11 13:48:01 +00:00
drh
697e5dba80
First complete attempt to generate a working changeset. Still contains bugs.
...
FossilOrigin-Name: 5611fa9bd5b8fd762d16ce9b0853c2e779a1a1b7
2015-04-11 12:07:40 +00:00
drh
83e63dc385
Work toward adding the --changeset option to the sqldiff utility program.
...
Changes are incomplete. This is an incremental check-in.
FossilOrigin-Name: 463e38d765f9d055b63792a8ea15c3782657b07f
2015-04-10 19:41:18 +00:00
drh
2139d252dd
Fix incorrect column names in UPDATE statements generated by the sqldiff
...
utility.
FossilOrigin-Name: ee53b46011852e27db23708387fe1e918cc8284c
2015-04-09 19:39:54 +00:00
drh
a37591cdd1
Add the --primarykey option to the sqldiff tool, which causes it to use the
...
schema-defined PRIMARY KEY.
FossilOrigin-Name: 5063f9070afde9374ea0f2bc338fee840d8b3dd4
2015-04-09 18:14:03 +00:00
drh
39b355c70f
Fix comment typos in the sqldiff.c utility program.
...
FossilOrigin-Name: 32ab2bb990746a84f5944e3cf428fb2dff3628da
2015-04-09 13:40:18 +00:00
drh
d62c0f4c2d
Add the "sqldiff" utility program.
...
FossilOrigin-Name: 88da5bf5d2c4f848dbd4b5ffb1539abfbbdaff18
2015-04-09 13:34:29 +00:00
drh
57d0d9f33c
Merge all changes for version 3.8.9 into the ota-update branch.
...
FossilOrigin-Name: ec9d907a57fcea72c8a64e521e8a1b5777d67568
2015-04-08 14:01:07 +00:00
drh
af76530fb0
Merge obscure problem fixes from trunk.
...
FossilOrigin-Name: 271c110bcf5bf2ea7e113dd01dec876a08e3c047
2015-04-06 12:08:24 +00:00
drh
eaf2640237
Add source code to the "showlocks" utility program in the tool/ subdirectory.
...
FossilOrigin-Name: 6868cc66d2be67b7f03776c982962ffa4b30de11
2015-04-03 18:33:40 +00:00
drh
edb3e433ba
Merge recent enhancements from trunk.
...
FossilOrigin-Name: aea439bdc6d4d3a8568423171abf381843188826
2015-04-01 16:39:06 +00:00
drh
1cc0d11a16
Fix harmless compiler warnings in lemon.c
...
FossilOrigin-Name: bbe7dcda689a25860f2104804f00ba0a720c1372
2015-03-31 15:15:48 +00:00
drh
2a07f5ecec
Merge all recent trunk enhancements and fixes into the sessions branch.
...
FossilOrigin-Name: df94e61f93da390cb75c48975c50e9d62096ea0b
2015-03-31 00:10:21 +00:00
mistachkin
d69e557940
Add SQLITE_STDCALL and SQLITE_CDECL macros on public function definitions.
...
FossilOrigin-Name: cae3239aa58b4f7016fc9dcac3966fe6ef833879
2015-03-24 22:00:26 +00:00
drh
790fa6ec30
Further simplifications to the amalgamation builder.
...
FossilOrigin-Name: e826cd7db6b3ab010533d81a759794c2470343d2
2015-03-24 21:54:42 +00:00
mistachkin
8de1250638
Update the 'mksqlite3c-noext' tool as well.
...
FossilOrigin-Name: a532256688c3a7a6385e041ec73913842e2c3ab3
2015-03-24 21:52:12 +00:00
mistachkin
26bbfaa59d
Fix a couple comment typos in a tool script. No changes to code.
...
FossilOrigin-Name: 83421af67063825981f6051eb415944d90e9b2f6
2015-03-24 21:34:53 +00:00
mistachkin
59b9b02c1f
Add SQLITE_STDCALL and SQLITE_CDECL macros on public function definitions.
...
FossilOrigin-Name: 242f09d4d1c92ee9058857a5e780442f4b7bad55
2015-03-24 21:27:27 +00:00
drh
edea911945
Merge all recent trunk enhancements into the sessions branch.
...
FossilOrigin-Name: 54aaa6f29ad1bf84148c2403eed77e8311f68d66
2015-03-24 19:02:13 +00:00
dan
6da7a0a93d
Merge the latest trunk changes into this branch.
...
FossilOrigin-Name: 9d9b6c883b4f7d69c615cedfb59a2385aac47b74
2015-03-24 18:21:41 +00:00
mistachkin
774f42b6c6
Add more comments to the MSVC batch build tool.
...
FossilOrigin-Name: 03522da37821958c647d49bf8189a5affa3f6720
2015-03-21 22:23:46 +00:00
mistachkin
082be63b17
Increase the debugging level for the debug configuration in the MSVC batch build tool.
...
FossilOrigin-Name: 041484ff91fd4615368ccb2257ab50acc2cd4fea
2015-03-21 22:13:47 +00:00
dan
71138b0f0f
Merge trunk changes with this branch.
...
FossilOrigin-Name: 142743918fd5a6d79fa10c44398360c3684a255a
2015-03-21 15:45:24 +00:00
mistachkin
44723ce096
Improvements to the MSVC build. Fix harmless compiler warnings. Enable use of 'stdcall'.
...
FossilOrigin-Name: 737630b87314283b2c38790ace9d25ec05f81f4a
2015-03-21 02:22:37 +00:00
drh
a9106ca83d
Merge recent trunk enhancements into the ota-update branch.
...
FossilOrigin-Name: 5489cb68921f62f10d832adbc4d19ea8c6c5da50
2015-03-09 13:24:46 +00:00
drh
c11a172d5f
Merge recent trunk enhancements into the sessions branch.
...
FossilOrigin-Name: 68c8937e83b770d5ec6b1855c1bde81057c11b5f
2015-03-09 13:07:45 +00:00
drh
8cd5b2546f
Changes so that the amalgamation and the command-line shell build without
...
modifications on VxWorks 7. Still gives a few compiler warnings, and still
mostly untested on that platform.
FossilOrigin-Name: 7d92f1f11ee69b0ba7d5a48f0611016d77d41c78
2015-03-02 22:06:43 +00:00
dan
5b828f8c33
Fix building with ENABLE_OTA and OMIT_LOAD_EXTENSION.
...
FossilOrigin-Name: d6d21ff55228d3ffe6cdbb5755645b147806a1da
2015-02-23 20:09:50 +00:00
drh
878acb32ef
Merge all recent trunk changes into the sessions branch.
...
FossilOrigin-Name: f36bb5fa5c5e3430808fe35d58f45559a216d341
2015-02-21 15:13:50 +00:00
dan
a3cf4f7ccb
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 0b63e8dcbaec5043e353734e684c2a46552a3409
2015-02-11 16:54:48 +00:00
dan
cd73244144
Further tweaks to work with zipvfs.
...
FossilOrigin-Name: 0f152416be792457c52417aeb531ac860d12a5bd
2015-02-10 20:00:38 +00:00
dan
9fab5ed01f
Fix WITHOUT ROWID table handing in sqlite3_analyzer.
...
FossilOrigin-Name: 937e0fe7008c0f76b6a584180df9a9457166a0b1
2015-02-09 17:46:11 +00:00
dan
dd0ad3785b
Remove "PRAGMA pager_ota_mode".
...
FossilOrigin-Name: 8ac58e46782bd6b81c06fdf1cb5b316b8a4e1ddf
2015-02-07 19:17:36 +00:00
drh
1ee4a2dd88
Merge all the latest enhancements from trunk.
...
FossilOrigin-Name: ae7eef117f28a5dae7a05805f2d31ac532a9fcc5
2015-02-06 15:40:32 +00:00
drh
fe9752d934
Merge all changes from index_xinfo, including the move of the pragma table
...
into the separate pragma.h file.
FossilOrigin-Name: 21e95d28a51e56b45a9d4166475972535e53f954
2015-02-04 23:51:59 +00:00
drh
4bb8cb0927
Merge all recent trunk changes, including the movement of the pragma
...
table into the separate pragma.h header file.
FossilOrigin-Name: 3af19f84446ba5fc1ed754d0d73f6a6d7fb2f365
2015-02-04 23:13:48 +00:00
dan
75fda9b395
Remove "PRAGMA ota_mode".
...
FossilOrigin-Name: 1c111447a07687c30ed4ad5a6c27a169c85b7ea6
2015-02-03 15:56:08 +00:00
drh
67e65e55ab
Break out the (script-generated) pragma parsing tables into a separate file,
...
pragma.h, to make editing easier.
FossilOrigin-Name: 32c0325bcb083fe3f0f0cfe999d00f754e15299e
2015-02-02 21:34:54 +00:00
dan
601415e2bc
Ensure generated header file fts5parse.h is included in sqlite3.c.
...
FossilOrigin-Name: bc7be2fcfd29d6f1b567b69b3b20896eceb99798
2015-02-02 11:58:21 +00:00
dan
57fec54b53
Fix some problems with building fts5 and fts3 together using the amalgamation.
...
FossilOrigin-Name: fb10bbb9f9c4481e6043d323a3018a4ec68eb0ff
2015-02-02 11:32:20 +00:00
drh
161a6845f9
Merge in support for the index_xinfo pragma.
...
FossilOrigin-Name: f9b6dc77021ee421bffd5697d5d337d3bbd07eb9
2015-01-31 02:34:23 +00:00
drh
c228be5b1f
Add the "index_xinfo" pragma. Add new columns to the "index_info" and
...
"index_list" pragmas.
FossilOrigin-Name: 30f51d7b3b292191e8351223242e708bb7f3dfa6
2015-01-31 02:00:01 +00:00
drh
120b3a4f61
Merge in all changes from trunk.
...
FossilOrigin-Name: 17c69be80542c5f84e21d60df3edc49422b087d9
2015-01-28 12:00:40 +00:00
dan
997d798d92
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: b3348b1e07e168b156636a29fc8c6d6afb3129c2
2015-01-21 06:36:07 +00:00
drh
9c2e9f7afa
Merge all 3.8.8 changes into the sessions branch.
...
FossilOrigin-Name: bebd131a3554ea95921e6edbc8aa36674ef25fe3
2015-01-16 12:44:52 +00:00
drh
b43be55e53
Makefile enhancements: (1) Rename autoconf/tea/configure.in to
...
autoconf/tea/configure.ac so that it works with the latest versions of
autoconf. (2) Add the "amalgamation-tarball" targets to Makefile.in and
main.mk (renamed from "dist" in the latter case). (3) Update the
README.first file in autoconf/ (4) The TOP macro
in Makefile.in is now an absolute rather than a relative path.
FossilOrigin-Name: 3bafeec934e56f633d0de6890e84fca990e54435
2015-01-15 15:47:06 +00:00
drh
7a20f698df
Merge trunk 3.8.8 beta changes into the sessions branch
...
FossilOrigin-Name: 0ba124540b5b2a9ceda0f4f4a46e6be54edad813
2015-01-14 17:16:23 +00:00
mistachkin
2318d3387d
Work in progress on fixing harmless compiler warnings when using -W4 and MSVC.
...
FossilOrigin-Name: 856dd245ce037f93d5ae2ddeb4fdf949c1e5c8e9
2015-01-12 18:02:52 +00:00
drh
f7af7a17b9
Merge recent enhancements from trunk, including test scripts enhancements and
...
the removal of limits on the number of terms in a VALUES clause.
FossilOrigin-Name: 5a2dec55bfadc328b430a5231a037b37831a5530
2015-01-08 20:06:06 +00:00
drh
0325d3962a
Enhance the "lemon" executable so that it ignores -f, -W, -O, and -I
...
command-line options. This permits most of the same options that are passed
to the compiler to also be harmlessly passed to lemon, and thus
simplifies makefiles.
FossilOrigin-Name: da408d128b4301d9fc7a3a00f219dce7ed48bc60
2015-01-01 19:11:22 +00:00
dan
37db72f1f7
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 4b3651677e7132c4c45605bc1f216fc08ef31198
2015-01-01 18:03:49 +00:00
drh
c8ae34dc6a
Merge the fix to PRAGMA data_version and testing improvements from trunk.
...
FossilOrigin-Name: 86e39123c1bca457672bc63eff00a823745077e5
2014-12-31 14:27:29 +00:00
dan
8038953c15
When building the amalgamation with SQLITE_ENABLE_IOTRACE defined, do not mark symbol sqlite3IoTrace as static.
...
FossilOrigin-Name: 5b7ca013b7171a6807b15b128e140ce160f526d3
2014-12-24 17:17:30 +00:00
drh
e465ac29cd
Merge the PRAGMA data_version command and the enhancements to FK query planning
...
from trunk into the sessions branch.
FossilOrigin-Name: d4f82af0a4a9db222e3405cff05c41157e7bd5d9
2014-12-20 14:58:32 +00:00
drh
9161856495
Experimental "PRAGMA data_version" command for detecting when another process
...
has changed the database file.
FossilOrigin-Name: 43db1f44bce5a0ee50197b95ab0d844540b69d86
2014-12-19 19:28:02 +00:00
drh
8e755e7e19
Simplify the implementation of the "header-value" pragmas (schema_version,
...
user_version, freelist_count, and application_id) by making them more
table-driven.
FossilOrigin-Name: da27a09d1d991583b59997f6cc67efa28ffd9d6a
2014-12-19 18:49:55 +00:00
dan
7bf9ec1c26
Add SQLITE_ENABLE_OTA pre-processor directives so that this branch may be compiled with or without OTA.
...
FossilOrigin-Name: 600cefdd4d29c1de4d107fa7ddeb76a18edce4f5
2014-11-22 09:09:50 +00:00
dan
841ed2b0f2
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 7ef44c5b5bd30bcc4ef59ed172b9ce9ac6a843f6
2014-11-21 14:37:24 +00:00
drh
04e8a58669
Merge recent trunk enhancements, including the read-after-ROLLBACK change
...
and the addition of sqlite3_stmt_scanstatus() support, as well as various
minor bug fixes.
FossilOrigin-Name: f09055f3c4348264c7336f90646375f0d98b061e
2014-11-18 21:20:57 +00:00
dan
48d7014067
Fix the customization interfaces so that they match the documentation.
...
FossilOrigin-Name: fba0b5fc7eead07a4853e78e02d788e7c714f6cd
2014-11-15 20:07:31 +00:00
drh
547fb61807
Improved output formatting for the showstat4 tool.
...
FossilOrigin-Name: 7df82c46da437bc743576358c25e758280067df8
2014-11-04 21:38:45 +00:00
drh
ca3e10ea37
Merge recent trunk enhancements, and in particular the improvements to
...
the b-tree balancing logic, into the sessions branch.
FossilOrigin-Name: 28b044a51215a3f64dafb2cf3b6cb7d2029580ef
2014-10-31 14:53:32 +00:00
drh
9c0153457a
Add the "varint.c" utility program in the tool directory.
...
FossilOrigin-Name: ea5d56be5fe14934e4dbe9c17d46b058f487a231
2014-10-31 10:31:59 +00:00
dan
ae0151c5a7
Merge version-3.8.7 changes with this branch.
...
FossilOrigin-Name: d380a6482a46478ebdf97e08b2fcf78b5d126dde
2014-10-20 16:34:03 +00:00
drh
bc2866ca7a
Merge all version 3.8.7 updates from trunk.
...
FossilOrigin-Name: f4de9e07be3819db222317725e62ea997cd22a20
2014-10-17 11:53:22 +00:00
dan
facd5fd622
Update the vdbe-compress.tcl script to account for expressions of the form (123>var), where "var" should be replaced with a reference to a union member.
...
FossilOrigin-Name: 640345d880c6178f8434e3ce40329b7527588843
2014-10-16 11:45:14 +00:00
drh
6b011d83b4
Merge all recent trunk changes into the sessions branch.
...
FossilOrigin-Name: 6406b77f2c447751a2fbb16f01c61cdcfd6af59e
2014-09-21 22:49:20 +00:00
dan
b6dea49f3d
Fix tool/showwal.c so that it handles WAL files that contain 64KiB pages.
...
FossilOrigin-Name: 4060efb646c873c4abde7ab9ddf330489a44f274
2014-09-15 16:53:23 +00:00
dan
19f913f268
Fix showwal.c so that it works with 64KiB pages.
...
FossilOrigin-Name: fc4f7c115207b786e3cac8cb6be4db3131b99a46
2014-09-04 18:05:42 +00:00
dan
19b465a0ae
Split part of "PRAGMA ota_mode" off into "PRAGMA pager_ota_mode". This allows some specialized custom VFS implementations to intercept and implement the expected pager-related effects of this pragma.
...
FossilOrigin-Name: 209f672e588b54dfbfb83c7859cacdc4497f0f2b
2014-09-03 19:30:32 +00:00
drh
bf9ed6f9af
Merge the latest trunk changes, including the multi-threaded sorter, into
...
the sessions branch.
FossilOrigin-Name: d4cce2c71e64ab7b6a65a81b88b69445ed859351
2014-09-02 15:49:47 +00:00
drh
034596153d
Query or change the maximum number of worker threads allowed on each
...
database connection separately using the "PRAGMA threads" command.
FossilOrigin-Name: 29c5e8a7c9d7ce349a1e1d72082d23450e877b45
2014-08-25 15:13:22 +00:00
drh
4d015c6902
Merge the recent performance enhancements implemented on trunk into the
...
threads branch.
FossilOrigin-Name: dfdc900f5d1a31ee5c5f35a630c4a8253e69093b
2014-08-25 13:27:02 +00:00
drh
2571e4eddd
Merge all recent trunk changes, especially the fix for
...
ticket [369d57fb8e5ccdff06f1], but also the skip-scan improvement and
performance improvements in the b-tree code.
FossilOrigin-Name: 0b9e2c3269695713b538561d999c68097db70f0c
2014-08-21 16:09:36 +00:00
dan
53d89cdfe9
Fix a typo in the showdb usage message.
...
FossilOrigin-Name: 6c66beae97ba1799c908d3a33371dedbc7f3f58c
2014-08-20 10:42:16 +00:00
dan
edf5b1657d
Minor changes to do with the Tcl tea extension package autoconf system.
...
FossilOrigin-Name: f10a6111262ce6ee6984c64fa0e0023642eca27d
2014-08-19 09:15:41 +00:00
dan
6885bbc713
Add an "automerge=0" mode that disables auto-merging and falls back to fts4-style crisis merges.
...
FossilOrigin-Name: 2397404e152b908d838e6491294b263b05943b3f
2014-08-18 19:30:01 +00:00
dan
c7fe7a969b
Replace the hash table borrowed from fts3.
...
FossilOrigin-Name: 617e2fac1c128212254f71b1a8fddaf0d1d90262
2014-08-11 19:44:52 +00:00
dan
92e497e517
Add the "loadfts" program, for performance testing the loading of data into fts3/fts4/fts5 tables.
...
FossilOrigin-Name: 770b9540c19ad1e3d24adff382332bf032065efd
2014-07-28 20:14:02 +00:00
drh
2bd2c29a95
Merge all recent trunk changes into the threads branch.
...
FossilOrigin-Name: 770685892c8f09b9cddb2fbb2877cfb291e19425
2014-07-24 16:54:28 +00:00
drh
35c3d8cc75
Merge recent trunk changes into the sessions branch.
...
FossilOrigin-Name: a9db017eabdefafcda87c497e8bafa07002ac0fe
2014-07-24 16:23:51 +00:00
mistachkin
ef60703e8f
Fix warnings related to having a 64-bit size_t.
...
FossilOrigin-Name: 29ac9336dba2b62d13315cecfc5c4a74cc54087a
2014-07-19 15:40:39 +00:00
mistachkin
35683976a4
Fix warnings caused by the previous commit.
...
FossilOrigin-Name: 89634a419d0c1ef899d0591c7c6ab9290bf665d2
2014-07-19 15:30:01 +00:00
mistachkin
0461cc4795
Fix harmless compiler warnings for MSVC in the showdb/showwal command line tools.
...
FossilOrigin-Name: 6dc7b2f119eb92da17c9e914bdad30a9ceaebdb5
2014-07-18 21:16:37 +00:00
drh
6614181610
Merge the latest trunk changes into the threads branch.
...
FossilOrigin-Name: ae23a65eb1547fbe8b86ab71477071990a22d31d
2014-06-30 20:25:03 +00:00
drh
f257b4c613
Merge the latest trunk enhancements into the sessions branch.
...
FossilOrigin-Name: a5d94eaba6aa12ff16d2a0af2fc752bcdb461877
2014-06-30 20:02:55 +00:00
drh
4bb77ecaa8
Add makefile targets for various diagnostic tools, such as showstat4.
...
Fix harmless compiler warnings in diagnostic tools.
FossilOrigin-Name: 6f86d89b8800c50035da7809bff941d08a33a6a2
2014-06-30 11:14:26 +00:00
drh
a9bc3cf736
Fix showstat4.c so that it decodes typecodes 8 and 9 correctly.
...
FossilOrigin-Name: 9ca737c0b41f87998d842e7772c3e483bb291c50
2014-06-24 20:19:21 +00:00
drh
f127814eae
Add the showstat4.exe utility program for decoding and displaying the
...
content of the sqlite_stat4 table in a database.
FossilOrigin-Name: b4d9f6053d1d95fdc1eab8ce610b51e7df8d896d
2014-06-24 00:59:15 +00:00
drh
56e67dd7c7
Improved display of record data in the "NNNbd" output of the showdb.exe
...
utility program.
FossilOrigin-Name: f735c2497eaad15216c90c6b92fd5ceff460220a
2014-06-20 13:55:06 +00:00
drh
419e04010f
In the showdb.exe utility, for the "NNNbd" command, also show data fields
...
in addition to header fields on each record decoded. Improvements to
formatting.
FossilOrigin-Name: b451fe0cb92278deb7724e7995c1bd46ae83c119
2014-06-20 01:32:42 +00:00
drh
6a30cd5a44
Add the ability to decode the headers of individual cells, byte-by-byte,
...
in the "showdb.exe" utility.
FossilOrigin-Name: 306b461d7c0643b6ac4df944759ecc9ce8581634
2014-06-19 23:38:53 +00:00
drh
5dfcfe7dc0
Merge in all recent changes from trunk, and especially the automatic index
...
enhancements.
FossilOrigin-Name: 0e1b73496f861bd497f92f1ead936b2d94aa52d5
2014-06-18 15:18:12 +00:00
drh
62a223e5dd
Modify the %nonassoc directive in lemon so that it generates a run-time
...
error rather than a parsing conflict. This changes is due to a bug report
on the mailing list. SQLite does not use the %nonassoc directive in its
grammar so this change does not affect SQLite.
FossilOrigin-Name: 1925f3a0a2caa709569df015a8e0d26412f1a9ff
2014-06-09 13:11:40 +00:00
drh
33ca481923
Bring the threads branch up-to-date with the 3.8.5 release.
...
FossilOrigin-Name: e4b01676d7e7ac14f5120ca3a618cc34dbf5dab2
2014-06-05 13:22:52 +00:00
drh
83f951ee95
Merge the 3.8.5 release candidate changes into the sessions branch.
...
FossilOrigin-Name: 09e75d82d02f900e58eceaaa010a42fc7044c89f
2014-06-03 20:09:48 +00:00
drh
7ef4d1c403
Fix a compile of harmless static analyzer warnings.
...
FossilOrigin-Name: 7e287f2055dcd82c92d1711aec97cb6552a354bb
2014-05-31 15:39:53 +00:00
drh
cbabb20390
Merge trunk changes into the sessions branch.
...
FossilOrigin-Name: 9f18e78f039ffa89a8806810ad385bdc51bc88ed
2014-05-29 20:29:13 +00:00
drh
ff14013496
Merge changes from the trunk into the threads branch.
...
FossilOrigin-Name: 416cb091267de91b9cadee9f7453b8627570b7d3
2014-05-29 20:24:20 +00:00
drh
3c559a8d3c
Fix harmless compiler warnings.
...
FossilOrigin-Name: 20b75460c0661b5dc071177b4a0791aceccda029
2014-05-27 19:18:36 +00:00
drh
d963982049
Merge recent trunk changes into the sessions branch.
...
FossilOrigin-Name: 2d33afe0c43cb99caa521c48b721c3b0971e967c
2014-05-20 00:20:23 +00:00
drh
d25c69ef39
Merge all recent changes from trunk, and especially the new sqlite3FaultSim()
...
interface.
FossilOrigin-Name: 43fcbd9116401f30781fdcbe55d1674d6b96311b
2014-05-16 14:27:05 +00:00
mistachkin
796407395e
Merge updates from trunk. Emit the AppliesTo and DependsOn SDK manifest attributes when building the VSIX for Windows Phone 8.1.
...
FossilOrigin-Name: f6237a5f190bd5693ceed0ca1f048c3ec2a4da67
2014-05-10 17:33:11 +00:00
mistachkin
1273614191
When using Visual Studio 2013, add the appropriate MaxPlatformVersion attribute to the VSIX SDK manifest.
...
FossilOrigin-Name: 0a4f59676bd0ab33b2c86c9a35a2ebbdbaf09ee7
2014-05-10 17:28:45 +00:00
dan
ae289fccbf
Merge the latest trunk changes into the threads branch.
...
FossilOrigin-Name: 9ac8f1e7115bc50663235adedeb0d3e1234c5740
2014-05-09 15:00:32 +00:00
mistachkin
6117272e03
Update the template VSIX package file as well.
...
FossilOrigin-Name: 99d96765cc378fde7b285f4577ea2b5d130d9a61
2014-05-06 21:37:10 +00:00
mistachkin
f574259a64
Merge updates from trunk.
...
FossilOrigin-Name: 7579c44ac1865133c37b16f2acc074d1eed4fdfd
2014-05-06 21:30:25 +00:00
mistachkin
441aa095ed
Enhance the VSIX package creation tool to better support Visual Studio 2013.
...
FossilOrigin-Name: c1fb04f61eb74d80d1b7607ae6904fe2e1717988
2014-05-06 21:26:34 +00:00
mistachkin
897f6833fc
Refactor VSIX package creation tool to better support Visual Studio 2013.
...
FossilOrigin-Name: 8be166af239cbdaff3937c4003a6dc6e8a96e53a
2014-05-06 00:09:46 +00:00
mistachkin
75cc2f7a14
Merge updates from trunk.
...
FossilOrigin-Name: 668ed76ac6cfd5810aea7319c752d77fafaab319
2014-05-05 22:50:19 +00:00
mistachkin
7dd9fb65e2
When building for Windows 8.0 using Visual Studio 2013, make sure the cross-compilation native library path is set correctly.
...
FossilOrigin-Name: c1ab9092e29bc9d172c1f1a3becbcc83b79f2080
2014-05-05 22:43:17 +00:00
mistachkin
220942b757
More modularization work on the MSVC batch build tool.
...
FossilOrigin-Name: 9a06773acc181e981f61f476a8e56417b98beba9
2014-05-05 21:08:47 +00:00
mistachkin
2347e3b1bb
Merge updates from trunk.
...
FossilOrigin-Name: eaa8fc810fcff8171b6c5cff8c661a6faf0e023b
2014-05-05 20:35:44 +00:00
drh
44a3ba7123
Create new header file "os_setup.h" used to detect the operating system
...
at compile-time, and "os_win.h" that contains windows-specific header in
formation.
FossilOrigin-Name: bd92e0f80c1158d810b0d47e38f2fe06ff24bb8c
2014-05-05 20:32:15 +00:00
mistachkin
f6a2342651
Work on cleaning up the MSVC batch build tool integration with Visual Studio 2013.
...
FossilOrigin-Name: b5a72dfd59fba6a9938ac1afdec06a2e6809fd2d
2014-05-05 20:24:34 +00:00
drh
1a8a0d3f1a
Attempt to fix the build on beagleboard.
...
FossilOrigin-Name: 3ac75725a66730566105ad184a988a8f80f51055
2014-05-05 20:21:52 +00:00
mistachkin
bd6e51c0f9
Merge updates from trunk.
...
FossilOrigin-Name: 6f07f20e41446212a86989a5e6ce7f12998a3ae3
2014-05-05 17:49:16 +00:00
mistachkin
4a11505be9
Merge updates from trunk.
...
FossilOrigin-Name: c4d1d8a0db48f523d1624f2468261c171152c0f7
2014-05-02 21:38:02 +00:00
dan
2ae56f50ce
Merge orderby-planning with this branch.
...
FossilOrigin-Name: d9549de31741239ece060e448b592ce8fc5b8042
2014-05-02 18:05:38 +00:00
drh
253666e520
Improved rendering of LogEst values corresponding to real values near 0.0
...
in the tool/logest.c utility program.
FossilOrigin-Name: 32910c8c595858245bb7ecfe3aa0f90eeae641af
2014-04-30 14:22:38 +00:00
mistachkin
e756bfb363
Preliminary changes to support building VSIX packages for Windows 8.0 and Windows Phone 8.0 using Visual Studio 2013.
...
FossilOrigin-Name: 3bf97c811a25babf760f256245c756ed6710f8ba
2014-04-21 18:00:11 +00:00
mistachkin
00b638bb6f
Preliminary changes to support building VSIX packages for Windows Phone 8.1.
...
FossilOrigin-Name: a1b2f28ba85b043df68875f5d3446140db4f2cb0
2014-04-18 00:08:13 +00:00
drh
652cc4b6dc
Merge all recent changes from trunk,
...
including the fix for the OP_SCopy-vs-OP_Copy problem.
FossilOrigin-Name: 9515c8344a6743bbb0c6a6e49fb79fb3139090df
2014-04-03 16:35:33 +00:00
dan
2f17001521
Merge latest changes from orderby-planning branch.
...
FossilOrigin-Name: 4c7fb5423430f3b936befaa7c309f8e1968ee7d8
2014-03-28 19:18:16 +00:00
drh
382bdeabef
Enhance the logest.c utility with new operators: "dup", "inv", "log", and
...
"nlogn". Provide help on an invalid input.
FossilOrigin-Name: b4bd2a062c4baf5f622d61b7411f00de5904ef56
2014-03-27 14:05:38 +00:00
dan
c625ba7f4f
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: d17231b63d48c1f9c4dee109c90cec112e2f0fd4
2014-03-13 15:41:09 +00:00
drh
7826a9b83f
Merge the performance enhancements of trunk (and some obscure bug fixes)
...
into the sessions branch.
FossilOrigin-Name: 7f51ad97f0b24c57453d58faf25eee68861faa23
2014-03-04 14:34:14 +00:00
drh
e8c1eba9a9
Also adjust the order of files in the amalgamation to ensure that
...
_FILE_OFFSET_BITS is defined before any #include, for QNX.
FossilOrigin-Name: 23001a85cd334090cf6c70d4d7e722a01f4f6899
2014-02-25 18:12:58 +00:00
mistachkin
835c19bb9a
Merge updates from trunk.
...
FossilOrigin-Name: 09cf240a7fb4022aeb1d7ae2a2455b5f97b53d68
2014-02-21 10:48:03 +00:00
drh
2926f9694f
Fix the VDBE_PROFILE logic. Add a script to process the output file.
...
FossilOrigin-Name: 7adb3da235c8c162c84f05ef4ccf1cc463805d5f
2014-02-17 01:13:28 +00:00
dan
43a6c6b2d4
Merge latest fixes from the trunk.
...
FossilOrigin-Name: 6b6dcd4cc75317628072abac7c58b41361cc72b4
2014-01-29 14:21:31 +00:00
drh
db718d8a3b
Fix harmless compiler warnings in the showdb utility program.
...
FossilOrigin-Name: 27c27daa3324b7c9323acfb972330367630bb64e
2014-01-28 20:36:22 +00:00
drh
19913f4419
Bring in the latest updates from trunk.
...
FossilOrigin-Name: 7b5f3773867ed0e4ed17bd473ba972d500035318
2014-01-28 18:06:17 +00:00
dan
b68b97789e
Fix a problem causing SQLITE_OMIT_COMPOUND_SELECT builds to fail.
...
FossilOrigin-Name: b30db0ac3096b43d55a6da40cafc7de569082bf8
2014-01-25 12:16:53 +00:00
drh
c187698614
Bring in all the latest trunk changes, including the Common Table
...
Expressions implementation.
FossilOrigin-Name: 9b43e559195680e558264c4c00d34dc9cf9d9146
2014-01-24 14:05:18 +00:00
drh
7b19f25247
Merge trunk changes. Fix a possible NULL-pointer deference in WITH clause
...
name resolution.
FossilOrigin-Name: 7f953b568baa3eede0b9c144be0b9bc86496341a
2014-01-16 04:37:13 +00:00
mistachkin
7a429658d7
Fix harmless compiler warning in LEMON.
...
FossilOrigin-Name: f61a70589ac7e05008a362bd9d5b7bde5d07a758
2014-01-14 10:17:21 +00:00
drh
8b4718636c
Parse common table expressions. But do not do anything with them (yet).
...
FossilOrigin-Name: da98b7205eb3d7ec2ddbf8a8e24eee0b2ff499a5
2014-01-11 13:22:17 +00:00
drh
03e1b1f5ff
In LEMON, limit the size of the grammar file to 100MB. This ensures that
...
the program will never experience integer overflow. To be doubly sure,
use calloc() instead of malloc() when allocating arrays.
FossilOrigin-Name: 29ba458d849ad8864711cbe59fb10447a947e06a
2014-01-11 12:52:25 +00:00
drh
ecaa9d399c
Add the "%token_class" directive to the LEMON parser generator. This opens up
...
the possibility of simplifying the parser. Also remove all calls to
sprintf(), strcpy(), and strcat() from LEMON to avoid compiler warnings
on OpenBSD. (Aside: It is this change to avoid harmless compiler warnings
that was the cause of the reason spat of bugs.)
FossilOrigin-Name: 8eb48c04bd0a14031488b3160fde67307eb8b35d
2014-01-11 03:27:37 +00:00
drh
61f92cd045
In LEMON, fix a bug in the text formatter introduced by the previous
...
commit. Also add the new "%token_class" directive for defining symbolic
names that stand any one of a collection of tokens.
FossilOrigin-Name: da7890ca6b1d8e511377a469047120220e8c3b2d
2014-01-11 03:06:18 +00:00
drh
898799fa00
Do not use sprintf(), strcpy() or strcat() in the implementation of the
...
lemon parser generator tool, to avoid compiler warnings in OpenBSD.
FossilOrigin-Name: e43c522dde01e134f1adc94f534d2b3eda74afc2
2014-01-10 23:21:00 +00:00
drh
c8d985e09c
Merge in all recent preformance enhancements from trunk.
...
FossilOrigin-Name: 32477642d79615fb85680bdac812ad9655cf6902
2013-12-14 18:24:46 +00:00
drh
2dc0648a80
Do not run the tool/vdbe-compress.tcl script that generates the
...
vdbeExecUnion object that reduces the size of the sqlite3VdbeExec()
stack frame unless the SQLITE_SMALL_STACK compile-time option is
specified as on of the OPTS in the makefile. The vdbeExecUnion object
gets in the way of C-compiler optimizer and results in slightly slower code.
FossilOrigin-Name: 4d0781473a465b4ab0a307914014f3d2ddd0ce33
2013-12-11 00:59:10 +00:00
drh
1b2ee4fe1a
Merge in performance enhancements from trunk.
...
FossilOrigin-Name: fc9ae839569eb28eb734c52d95676c59b2e27494
2013-11-26 18:00:29 +00:00
mistachkin
f74b9e0965
Further work on Windows header file reform.
...
FossilOrigin-Name: 540f5525160b516de282136ca77f909115a51630
2013-11-26 01:00:31 +00:00
mistachkin
8bc5262915
Initial work on isolating usage of the Windows header file.
...
FossilOrigin-Name: 0d42c6b830ee50f45539d73e3948ed3bc50a11d1
2013-11-25 09:36:07 +00:00
mistachkin
f201496c6a
Minor correction to the batch build tool for MSVC.
...
FossilOrigin-Name: 22144c9df260910c4b67960b0e6a6bd5a6758cd7
2013-11-22 00:49:43 +00:00
drh
212c6be141
Merge the skip-scan optimization into the sessions branch.
...
FossilOrigin-Name: 7596d1bf8040f7cefc7b22c5e609acc5d66820bf
2013-11-14 19:18:39 +00:00
drh
84e55a80db
Add the "PRAGMA vdbe_eqp" command, only available with SQLITE_DEBUG. Simplify
...
some of the other debugging logic.
FossilOrigin-Name: 8ce33f4c818e1c785a1c176f6f631b8184e1166b
2013-11-13 17:58:23 +00:00
drh
e54df42d87
Break out the structure and macro definitions of where.c into a separate
...
header file whereInt.h for easier editing and debugging.
FossilOrigin-Name: c44467124623733aac64096d605f16139b733a7f
2013-11-12 18:37:25 +00:00
drh
cbf1b8ef7d
Merge in the WITHOUT ROWID changes. A few tests are failing now. They will
...
be fixed in a follow-on check-in.
FossilOrigin-Name: 5addd1234ded59ce60fb633b76ac87d483377edd
2013-11-11 22:55:26 +00:00
drh
71b4ea83e0
Import the sqlite3_analyzer fixes from trunk.
...
FossilOrigin-Name: ac711459ff243e787ea5e9c01720dff75a5eda9b
2013-11-02 11:43:05 +00:00
drh
a46417151a
A pair of sqlite3_analyzer bug fixes: (1) quote strings in the SQL at the end
...
of the output. (2) Fix test_stat.c so that it no longer misses some overflow
pages on internal index pages.
FossilOrigin-Name: 42a11e7464ab1d97d603c7409f10710ad4f1f542
2013-11-02 11:34:58 +00:00
drh
7913e41f6d
Fix sqlite3_analyzer so that it works with WITHOUT ROWID tables.
...
Fix index generation for secondary indices that include fields from
the PRIMARY KEY.
FossilOrigin-Name: f9769d701c65770f4b8488f541c59e508393e6c2
2013-11-01 20:30:36 +00:00
drh
1aae39cd26
Merge all changes from trunk, and disable a pair of corruption tests that are
...
no longer valid since sqlite_master.rootpage can now be NULL for tables.
FossilOrigin-Name: dd5d57b9a1b25fb6c9e20024e519b58630cf1fd0
2013-11-01 17:21:29 +00:00
mistachkin
293566eaf2
Update comments in the MSVC batch build tool.
...
FossilOrigin-Name: 0414bb73ef83332bec3d06471d431690356dbe13
2013-10-31 06:39:15 +00:00
drh
d63d4b7bd7
Merge all trunk changes since 3.8.1 into the sessions branch.
...
FossilOrigin-Name: aa72ea8a004de7fe744fc13baef19d05aea607d5
2013-10-28 22:47:24 +00:00
drh
8075cc17d3
Merge recent fixes from trunk.
...
FossilOrigin-Name: 9f8191d1d833acaaf612fdff8cc6bd544c042986
2013-10-28 22:39:53 +00:00
mistachkin
dd19783225
Improve support for the SQLITE_OMIT_FLAG_PRAGMAS compile-time option.
...
FossilOrigin-Name: f1d8c3b07e61c5a8b39675d0d62876ca15e207f3
2013-10-21 23:17:23 +00:00
drh
5969da4a2c
Simplification of the syntax: Merely append "WITHOUT rowid" to the end of
...
the table definition.
FossilOrigin-Name: 131cc6e152abe1a2d48e6d8d40d2c2f8dbe723e7
2013-10-21 02:14:45 +00:00
drh
81eba73ebf
Experimental changes toward "index only" tables. Add the ability to specify
...
options on CREATE TABLE statements using the WITH clause modeled after
PostgreSQL and SQL Server. Only the "omit_rowid" option is currently
recognized and that option is currently a no-op.
FossilOrigin-Name: 0248ec5e6e3797575388f046d8c27f7445fe2a39
2013-10-19 23:31:56 +00:00
drh
9327c70f68
Merge the latest trunk changes into the sessions branch. This merge
...
should fix the build for WinRT.
FossilOrigin-Name: e111e4edf9d7b2d4d6d6673a7576801839e9537d
2013-10-15 14:10:44 +00:00
drh
3ef261567a
Restore the index_list pragma back to its former operation. Create a new
...
PRAGMA stats used to access the table and index widths and heights.
FossilOrigin-Name: f0cf8c85dcbcc7778aed2816792c368d777f79cb
2013-10-12 20:22:00 +00:00
mistachkin
0ed02a6dcb
Permit the creation of VSIX packages for Win32.
...
FossilOrigin-Name: 035d03e94252f31025b39da49d8401933352fb77
2013-10-12 02:31:34 +00:00
drh
2b51f2153b
Fix a harmless compiler warning in lemon.c.
...
FossilOrigin-Name: 62959c0ce3a2c486ebd82e6511efad0412b944a0
2013-10-11 23:01:02 +00:00
drh
4f99189051
Fix various harmless compiler warnings. Change the "warnings.sh" script to
...
work with STAT4 instead of STAT3.
FossilOrigin-Name: 7df06684ab36bfdad9e9aca6940b7a665c2a0cb5
2013-10-11 15:05:05 +00:00
drh
80e0b72e8d
Make sure the sqlite3.h file occurs at the very top of the sqlite3.c
...
amalgamation.
FossilOrigin-Name: 03593817ab5abdd4bbaa5e47e2e4745eef025af9
2013-10-11 13:27:26 +00:00
drh
a63b852992
Synchronize with the trunk.
...
FossilOrigin-Name: 136445ba020c9475d3f5a7843d7d0add98477138
2013-10-10 20:13:18 +00:00
drh
919e3b3908
Another fix to the hash signature algorithm in vfslog.c.
...
FossilOrigin-Name: 34212aa8c405c4ff3f8045ec0cf2a860af61540f
2013-10-10 13:41:04 +00:00
drh
7cd84ffc60
Fix the hash signature algorithm in vfslog.c. Add a utility program to
...
show the hash signatures for every page of a database file.
FossilOrigin-Name: eaf4de13a63b2294ae575432a022493308a4313a
2013-10-10 13:38:51 +00:00
drh
6f38a6418c
Merge bug fixes from trunk.
...
FossilOrigin-Name: 1d7b2dc0eae70c0c0e523b715acf758bb4cfa9ac
2013-10-07 10:48:06 +00:00
drh
8ab88326cb
Restore the hexrekey pragma which was accidently deleted during the
...
pragma refactoring. Make sure the hexkey and hexrekey pragmas do not
overflow buffers with a over-length key.
FossilOrigin-Name: 0aca31e1514b3df254c049b4251bcb199831681a
2013-10-07 00:36:01 +00:00
drh
0af62b015a
Improvements to the LogEst command-line tool used to convert between
...
ordinary numbers and the LogEst representation.
FossilOrigin-Name: 5252aeb61988e511dcf8d527fa81e51a5c9385f9
2013-10-05 18:32:30 +00:00
drh
bf539c4d5c
Begin an experimental refactoring to estimate the average number of bytes
...
in table and index rows and to use that information in query planner.
Begin by renaming WhereCost to LogEst and making that type and its
conversion routines available outside of where.c.
FossilOrigin-Name: 66c4a251d61582b47d5cbe50cbca160a9209bd06
2013-10-05 18:16:02 +00:00
drh
f63936e805
Rework the PRAGMA implementation to only call sqlite3ReadSchema() from a single
...
place, based on a flag in the pragma table, rather than separately from each
case which needs the schema.
FossilOrigin-Name: 8338232a111be16d6c2ab57176d0a23a001f02ad
2013-10-03 14:08:07 +00:00
drh
01f75f2d68
In the lemon parser generator, change all hashes to unsigned to avoid
...
potential problems with signed integer overflow.
FossilOrigin-Name: 8d399a03de63c15908d63ed69140ee15c6275b8d
2013-10-02 20:46:30 +00:00
drh
be007dc61e
Fix comments in the fast_vacuum.c demonstration program.
...
FossilOrigin-Name: e0db7b38e1bc0edb1c3995cb23c46488aa6a0909
2013-10-01 19:36:15 +00:00
drh
ba7df1188a
Add the "fast_vacuum.c" demonstration program to the tool/ subdirectgory.
...
FossilOrigin-Name: 2b60320d57a4638ebf97a2854527649c671d108e
2013-10-01 19:02:56 +00:00
drh
2f312ee65f
Updates to the sqlite3_analyzer utility: Change the names of some labels,
...
especially change "Fragmentation" to "Non-sequential pages". Revise the
computation of non-sequential pages so that it ignores itercalated non-leaf
pages (overflow and index pages).
FossilOrigin-Name: 3e5c7771fa91d8ae1e495432329b87af87b1ebc6
2013-09-28 12:40:55 +00:00
mistachkin
02e8689233
VSIX tooling changes to support Visual Studio 2013.
...
FossilOrigin-Name: d56fac40313e7d2e77dac3e2bc47cbbb3d10c656
2013-09-13 22:38:54 +00:00
drh
77ff23f9c7
Fix the "const" qualifiers on the pragma name table.
...
FossilOrigin-Name: b74e6be818fa7d19f1af6d86ad1d2ecba334b01b
2013-09-13 21:03:45 +00:00
drh
55e85ca5f5
Add the soft_heap_limit pragma.
...
FossilOrigin-Name: c326356f9a18bff5cf36bd59331e2cc207e349fa
2013-09-13 21:01:56 +00:00
drh
d49c358e39
Tweak the new PRAGMA name parser to achieve full branch test coverage.
...
FossilOrigin-Name: c82e05c4b8e000684d95ac8417afaef5e4d633e6
2013-09-13 19:00:06 +00:00
drh
6bb64f6a31
Enhance the pragma lookup table generator script to output a comment that
...
gives the number of pragmas.
FossilOrigin-Name: ca05205050752b5d5f583421b7813fba62f5085c
2013-09-13 16:56:17 +00:00
drh
9ccd8659ff
Change the PRAGMA parser to use a binary search for the pragma name.
...
Also: Minor performance enhancement to sqlite3DbFree() and to the
token dequoter.
FossilOrigin-Name: 870c030b4e1854e6e0d39907fadbd82774c16f56
2013-09-13 16:36:46 +00:00
mistachkin
36c12888b5
Merge updates from trunk.
...
FossilOrigin-Name: fca799f03ad04b7d36381108ff10e9c7d03656ac
2013-09-12 00:40:54 +00:00
drh
59255f9a98
Merge in all the latest trunk changes, including the win32-longpath VFS and
...
the fix for the segfault in the omit-left-join optimization.
FossilOrigin-Name: cdd3838b7876639cf99904b2054884247fbff529
2013-09-03 14:49:07 +00:00