dan
12ca5ac3d2
Fix a problem with upper case module names in the "sqldiff --vtab" command.
...
FossilOrigin-Name: 87e25fc472604b3978811be53991104c665a95e7
2016-07-22 10:09:26 +00:00
drh
dd703e22a5
Fix the error counter reset in Lemon generated parsers. This has no effect
...
on SQLite.
FossilOrigin-Name: 3ef93950d30b34d852d6bbc101d433a04112868a
2016-07-12 19:54:49 +00:00
dan
71c57db099
Add some support for using row value constructors in certain parts of SQL expressions. There are many bugs on this branch.
...
FossilOrigin-Name: b2204215b231202aef7a218411cc2ddaecf28f35
2016-07-09 20:23:55 +00:00
drh
d3d4b3c698
Another attempt to fix error handling in Lemon. This change is a no-op for
...
SQLite's usage.
FossilOrigin-Name: e1d8ef311cabcb96495a88404991b1416655e4a8
2016-07-08 19:54:38 +00:00
drh
5225449e5b
In the sqldiff program, make sure the first argument to the db_prepare()
...
utility function is always a valid format string.
FossilOrigin-Name: 8bb8d886ffa948cd7bc66c8c62da76bce233be2e
2016-07-08 02:14:24 +00:00
drh
e0a6e0fda0
More fixes to Fossil so that it automatically resets its error counter at the
...
end of a parse.
FossilOrigin-Name: 2683b375ad1291172fdb47d94e16fcf869c78c8a
2016-07-05 16:11:26 +00:00
drh
240c7faf8b
Attempt to reset the error count in the Lemon-generated parser after
...
a parse failure.
FossilOrigin-Name: 91889fa30e84760e0d4b3d429c4abdef5a3f7931
2016-07-05 12:47:28 +00:00
dan
9c987a833c
Update the sqldiff utility so that if the --vtab switch is specified "rtree", "fts3", "fts4" and "fts5" tables are diff'd directly and the underlying real database tables ignored. Without this switch, all virtual tables are ignored and the diff is performed on the underlying real tables.
...
FossilOrigin-Name: 5d0a9d4c45730e47576bc77373fa7075a74051a5
2016-06-21 10:34:41 +00:00
drh
1d5721a777
Fix an undersized buffer in the SHA1 implementation.
...
FossilOrigin-Name: fb2768154c513881886e89801e906bea959197b3
2016-06-08 13:59:35 +00:00
drh
7c4942cb1a
Fix the dbhash utility so that it ignores the root page number when hashing
...
the sqlite_master table. Add new command-line options. Add the ability to
hash multiple databases with a single command.
FossilOrigin-Name: 44f157e0f0d5a76ef9002b2592164c4fdae89e34
2016-06-08 13:49:28 +00:00
drh
290fcaa2d1
An initial attempt at a "dbhash" command-line utility.
...
FossilOrigin-Name: 2247649ca215c06205b33b2250eb809baf39263a
2016-06-08 01:03:05 +00:00
drh
0efd37f28b
Fix lempar.c so that the shift-reduce optimization works for error processing.
...
This is a Lemon issue only and has no impact on SQLite.
FossilOrigin-Name: 3665a2f554e5b8d2717d952dbaf325a39c637c31
2016-06-06 18:17:36 +00:00
drh
4335ad05b8
Initialize the yyerrcnt variable in the lemon parser template. This has no
...
effect on SQLite itself.
FossilOrigin-Name: 45531654f7f5be3a08e9ee8598f14efe028245d8
2016-06-06 13:24:57 +00:00
drh
8dc8247eab
Fix Lemon so that it actually works with -DYYSTACKDEPTH=0.
...
FossilOrigin-Name: a9be4c2d56d08fea2cd1aab20b19092a45ef7620
2016-05-27 04:10:47 +00:00
drh
baf254aef9
Fix the Lemon-generated parser so that it compiles with -DYYSTACKDEPTH=0.
...
It does compile now, but there are subtle issues still.
FossilOrigin-Name: 28d439f816d2fa5263e1c4ddecf3bf1ac2dd6549
2016-05-27 01:07:18 +00:00
drh
ce3c5011d9
Add the libvers.c tool in the tool/ subdirectory.
...
FossilOrigin-Name: 2a41f098b2f0523b3d7e6eba6ae91cc0d30752df
2016-05-25 18:53:39 +00:00
drh
756b41ebd4
Enhance Lemon and the parser template so that it can once again build parsers
...
that have no unreachable branches.
FossilOrigin-Name: 41fd46e2962ba9a1e1f6867567499d1f6f5b8372
2016-05-24 18:55:08 +00:00
drh
abecc0b883
Improvements to the initialization of the push-down automoton for the
...
Lemon-generated parser. Smaller and faster.
FossilOrigin-Name: 3b28b68e232060f8b2fe2fe6fa478280da2006ff
2016-05-24 00:40:54 +00:00
drh
118ab65859
Use a pointer to the top of the stack rather than an index into the stack
...
in the Lemon-generated parser template, for about 6.6% parser performance gain.
FossilOrigin-Name: 3c2a770549d5bb65fcd6cc684e0a0ae6d641ac68
2016-05-23 21:56:24 +00:00
drh
c173ad8011
Lemon enhancement: avoid unnecessary reduce actions that convert one
...
non-terminal into another but have no side effects.
FossilOrigin-Name: a86e782ad1aa6f5a8b2c54f9dcf0fa61960843f3
2016-05-23 16:15:02 +00:00
drh
711c9810dc
Fix comment typos and improve clarity of presention in Lemon. The output
...
should be identical.
FossilOrigin-Name: b91a5b8297756289d45c8fce0d3399c253517eb0
2016-05-23 14:24:31 +00:00
drh
ed90a4676e
Add the shell-script used for routine performance testing.
...
FossilOrigin-Name: 8e366f18f5bbd594390e7b091083e99639de324e
2016-05-21 00:45:54 +00:00
drh
860a95fd01
Add a simple TCL script for summing cachegrind information for each VDBE
...
opcdoe.
FossilOrigin-Name: 96cf821b6a69e2e8df33271b7bb674bd12a1ef7b
2016-05-20 23:51:14 +00:00
dan
d49c6930b1
Fix a bug in sqlite_analyzer causing it report (slightly) incorrect values for the number of entries in indexes or WITHOUT ROWID tables.
...
FossilOrigin-Name: dc37750d4e87d0c529785adceeebd838b8f8591d
2016-05-06 15:16:02 +00:00
drh
cf7e7557b5
Fix harmless LLVM compiler warnings in the srcck1.c utility program used
...
during the build process.
FossilOrigin-Name: e4af967533f290862dfba1d9ef44d4c9ddd8a01b
2016-05-02 13:57:19 +00:00
drh
2e55b04da4
More bug fixes to Lemon identified by Kelvin Sherlock. None of these
...
have any impact on SQLite.
FossilOrigin-Name: 762bdc55f8878ee2ef65af2165a8e7fdbddf0160
2016-04-30 17:19:30 +00:00
drh
afb8cd977d
Lemon bug fix: Do not merge action routines unless their destructors are
...
also identical. Problem and suggested fix reported on the mailing list
by Kelvin Sherlock.
FossilOrigin-Name: 4792d6dbba6857f74d27332dcc1468e39c767c71
2016-04-29 11:28:35 +00:00
mistachkin
77fac879d2
More harmless compiler warning fixes.
...
FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
2016-04-12 20:05:06 +00:00
drh
c310db39ff
Rename the OP_MX_JUMP macro to SQLITE_MX_JUMP_OPCODE to avoid confusing the
...
opcode name generator.
FossilOrigin-Name: e554a4c38bda9c73bf129bb7c665c53ccc4d96a8
2016-04-11 16:35:05 +00:00
drh
7cc84c2cdd
Remove the VdbeOp.opflags field and its associated initialization overhead.
...
Update mkopcodeh.tcl to reorder opcode numbers to help the resolveP2Values()
routine run faster.
FossilOrigin-Name: 099478fa7521ba52262ef2bf24dd8f0114ce92e1
2016-04-11 13:36:42 +00:00
drh
838083975a
Incorporate the sessions extension and the
...
SQLITE_ENABLE_PREUPDATE_HOOK compile-time option.
FossilOrigin-Name: 4af7a90f980ade3566fc5da2f0db2669ac7d8256
2016-03-30 13:43:09 +00:00
drh
fbcd3130f6
Improvements to the performance testing program "speedtest1.c" and the
...
shell script that invokes it.
FossilOrigin-Name: e4bee561fdead5d35c24da3fe8a11bf6548550c6
2016-03-30 12:20:24 +00:00
drh
dbf8a16cb3
Merge 3.12.0 beta changes from trunk.
...
FossilOrigin-Name: 3296a0ceedef43c2790f0b36471f91138a575243
2016-03-21 15:32:19 +00:00
dan
febfe02300
Update the sqldiff tool so that it generates an rbu_count table.
...
FossilOrigin-Name: 1f7afb6e9be9f549a91bf2ab492df15698df89fd
2016-03-19 16:21:26 +00:00
drh
9493cafe6f
Fix harmless compiler warnings that arise with -DSQLITE_OMIT_LOAD_EXTENSION
...
FossilOrigin-Name: 65ba2f0b465a1493de6e467f55e0300ac3fb08e1
2016-03-17 23:16:37 +00:00
drh
4ef07708df
Enhance Lemon so that it reorders the reduce rules such that rules without
...
actions occur at the end and so that the first rule is number 0. This
reduces the size of the jump table on the reduce switch, and helps the parser
to run faster.
FossilOrigin-Name: d5712f21ec758ff096a7b1bb8ed4fc5ec400ca5d
2016-03-16 19:45:54 +00:00
drh
47e1842e5b
Merge all recent enhancements from trunk.
...
FossilOrigin-Name: 6a7ee04b0ddac36a87d5ed2ac89a53e537f4d5a3
2016-03-16 01:16:30 +00:00
mistachkin
a0ca3bc854
Check for PDB files prior to attempting to copy them in the MSVC batch build tool.
...
FossilOrigin-Name: d7c20f04e69fb1848b2e2f3b04fbd56e06c7c854
2016-03-10 19:08:44 +00:00
drh
c5c67abb9a
Merge the virtual table query planner enhancement, the RTREE cost estimate
...
fix, and the statement journal spill delay enhancement from trunk.
FossilOrigin-Name: 17fd8f3cf0ec565e08403dc8e10a1cffc2bbe165
2016-03-07 17:49:17 +00:00
drh
c2f18adde5
Remove the unused journal.c source file (its function have been subsumed into
...
memjournal.c). Refactor some of the names in memjournal.c. No functional
changes.
FossilOrigin-Name: 5f2a262d3f6b1531001326faf1d3b3d92c20a30a
2016-03-05 15:35:09 +00:00
drh
2606aca80f
Merge recent enhancements from trunk. Default page size is 4096. Writes
...
to statement journals are avoided.
FossilOrigin-Name: 456df3365e2df60e34762f2024bb551538b3f72b
2016-03-04 16:42:43 +00:00
drh
94fa9c414a
Eliminate the need for the Column.zDflt (using Column.pDflt instead) to reduce
...
the amount of memory needed to hold the schema.
FossilOrigin-Name: d8c94a46dfa94930732c2de2aa79675c5087d36e
2016-02-27 21:16:04 +00:00
mistachkin
9aeb971ceb
Support generating the '.def' file using the autoconf Makefile for MSVC.
...
FossilOrigin-Name: 3617564cb630ed418badf43d2c0291c11c166d12
2016-02-26 23:13:16 +00:00
drh
27b6649f39
Change the srcck1.c utility program to use only unsigned characters.
...
FossilOrigin-Name: d64d005eb5df2e3eb1248fc8eff8b1b683e48c74
2016-02-25 21:27:03 +00:00
drh
d3e1af4aa0
Merge all the latest changes from trunk.
...
FossilOrigin-Name: b86590043e17705ada90562cf30f69b3e3ef65a4
2016-02-25 18:54:30 +00:00
mistachkin
d149ea3a3a
Further enhancements to the MSVC batch build tool.
...
FossilOrigin-Name: 06f1495f4b7465e3992f524f56d97847643a9895
2016-02-19 19:46:58 +00:00
mistachkin
c03c2cf8b3
Use the arguments to NMAKE consistently in the MSVC batch build tool.
...
FossilOrigin-Name: 480e5049486b8b047f533d78b040daa47dd6b946
2016-02-19 19:29:44 +00:00
drh
51381c208e
Omit the unused yyzerominor constant.
...
FossilOrigin-Name: 60ad68a9f569d2446d76a6453be4fa1c4ed2cd93
2016-02-19 13:19:22 +00:00
mistachkin
b0c99afeda
Modify the MSVC batch build tool to support the MSVC autoconf Makefile.
...
FossilOrigin-Name: 72b10e5e7d2db436c7b03cc3735a2e9d0e53ab5d
2016-02-19 05:07:56 +00:00
mistachkin
9751730f83
Further improvements to the MSVC batch build tool.
...
FossilOrigin-Name: b9626b5954068ae2e7733dd14f906a1f6d7090a5
2016-02-19 00:48:23 +00:00
mistachkin
b9076ba4c9
Further improvements to the MSVC batch build tool.
...
FossilOrigin-Name: 90dd6eb1fec22460473d670519d0e730bb37067d
2016-02-19 00:47:18 +00:00
mistachkin
d8945d1707
Correct the install location for the UWP VSIX package.
...
FossilOrigin-Name: f74de325ffb01a1ca8ddd4f011188e38296c3402
2016-02-18 21:15:12 +00:00
mistachkin
45dc877f76
Correct the install location for the UWP VSIX package.
...
FossilOrigin-Name: b47d03027e973e3c8d77246a2d2100881f6a9bd2
2016-02-18 21:00:29 +00:00
drh
43303de97e
More agressive use of /*A-overwrites-X*/ in the parser. Fix an off-by-one
...
error in parser stack overflow detection.
FossilOrigin-Name: 417e777701bbf4bd67626d4ca3bc2c5d847f6cd0
2016-02-17 12:34:03 +00:00
drh
cf82f0d3d2
Enhance Lemon so that if reduce code contains a comment of the form
...
"/*A-overwrites-X*/" then a LHS label A is allowed to overwrite the
RHS label X.
FossilOrigin-Name: 5cfe9545d478a2c500083613dd20e14b2ffce645
2016-02-17 04:33:10 +00:00
drh
dabd04c656
Further improvements to the Lemon-generated code for yy_reduce().
...
FossilOrigin-Name: ef95a7d6490e33a9af4bc7b4b622de7328742ca7
2016-02-17 01:46:19 +00:00
drh
4dd0d3f819
In Lemon, add the ability for the left-most RHS label to be the same as the
...
LHS label, causing the LHS values to be written directly into the stack.
FossilOrigin-Name: 4bb94c7c4c3cb3ccad72c2451d88684130dde845
2016-02-17 01:18:33 +00:00
drh
45f31be85d
Experimental changes to Lemon for improved parser performance.
...
FossilOrigin-Name: a65d583ce97b8c08157268bd054479cda3957a94
2016-02-16 21:19:49 +00:00
drh
dab943cf3d
Improve the Lemon parser template (lempar.c) so that it avoids unnecessary
...
work when the grammer defines YYNOERRORRECOVERY (as SQLite does). Slightly
smaller and faster code results.
FossilOrigin-Name: 9235b0cf6a37712ae9e5deeb1e5ee064dd5511fa
2016-02-16 01:01:43 +00:00
drh
3719d10d11
In the tool/warning.sh script, disable Android-specific compiler warning tests
...
when not running on Linux.
FossilOrigin-Name: 153f01a821e9844d0a2e418eb83c60f6c7695c8d
2016-02-15 18:58:37 +00:00
drh
d8b7d6e44c
Merge the changes for the 3.11.0 release candidate from trunk.
...
FossilOrigin-Name: 4d7a802e73ef0352f840bc8d74c560afb7666ff7
2016-02-13 14:07:56 +00:00
mistachkin
a819aed880
Naming updates for Universal Windows Platform.
...
FossilOrigin-Name: 717c1fc41a2246e27b324a4071073c286bac4efc
2016-02-12 05:19:29 +00:00
drh
df3a907ecc
Add JSON1 and FTS5 to the set of extensions subject to close compiler warning
...
analysis. Fix some warnings in each. More (harmless) warnings still exist
in FTS5.
FossilOrigin-Name: cfe2eb88b504f5e9b1351022036641b1ac4c3e78
2016-02-11 15:37:18 +00:00
drh
dd2b59b01d
When generating the snapshot-tarball, truncate the date/time in the name to
...
12 significant digits (YYYYMMDDhhmm) omitting the seconds and fractional
seconds.
FossilOrigin-Name: 604f77754797a4066f6cf275c7bc8a68d2839c2d
2016-02-10 13:36:17 +00:00
drh
8809d821b4
Update the snapshot tarball name to use the date (ISO8601 format) instead
...
of the SHA1 hash in its name.
FossilOrigin-Name: 070ec66f677cdcd30087871feb8afd010a184b75
2016-02-09 22:54:39 +00:00
drh
07f76568da
Add the new "snapshot-tarball" target to the unix makefiles, for building
...
a tarball similar to "amalgamation-tarball" but named by the SHA1 hash of
the current check-out rather than by the version number.
FossilOrigin-Name: 4f360b2ae78b3d4ccfe6c40ac6b27a00fc70cf23
2016-02-09 22:39:39 +00:00
drh
1a606f8246
Merge enhancements and fixes from trunk.
...
FossilOrigin-Name: f040a5bb62f3473fba6450c97c68f538d1df21ef
2016-02-09 15:44:18 +00:00
drh
e96f361995
Changes to help the tokenizer run about 33% faster.
...
FossilOrigin-Name: a050e6f096d40aa5b6275797b96e62c228044f5a
2016-02-08 19:36:46 +00:00
drh
34dcee6544
Add code to get the tokenizer character-class logic working for EBCDIC.
...
FossilOrigin-Name: 04f7da77c13925c1f1e287f4579bb85518297d81
2016-02-08 19:15:48 +00:00
drh
41aab89b31
Faster keywordCode() implementation by taking advantage of the fact that
...
the input is always pure ASCII alphabetic and underscore and that the keyword
table is always upper-case.
FossilOrigin-Name: ff406b9701ebe3a01834837f380641c6f0c495bc
2016-02-08 03:23:46 +00:00
mistachkin
27b6997e9c
Fix harmless compiler warning in 'srcck1' tool and add it to the clean targets.
...
FossilOrigin-Name: 852a529a8b112049f67a3126f677c06ae4a22d73
2016-02-07 20:39:27 +00:00
drh
fd0d93fd71
Add the sourcetest target to Makefile.msc.
...
FossilOrigin-Name: ab269e720552483c5617906837e294c1be3e0a57
2016-02-07 00:08:08 +00:00
drh
cc5f8a46b9
Add a utility program that looks for assert(), NEVER(), ALWAYS(), and
...
testcase() macros that have side-effects, and reports errors when they are
found. Also fix a bug that this utility detected as it was being tested.
FossilOrigin-Name: b0b4624fc5d53bb0cc9fae7dad51984837d946ac
2016-02-06 22:32:06 +00:00
drh
0ac7cfaf99
Merge enhancements from trunk.
...
FossilOrigin-Name: a533608cb0de3cbc1e28a794aab99864b8c249f4
2016-02-05 14:15:34 +00:00
mistachkin
b91d2214fe
Improve ERRORLEVEL handling in the MSVC batch build tool sub-routine 'fn_UnsetVariable'.
...
FossilOrigin-Name: fe123ab4f17f97ba9d64a7e0589ac47fd9d43877
2016-02-05 04:55:01 +00:00
mistachkin
02de84e562
Another small tweak to the MSVC batch build tool.
...
FossilOrigin-Name: 76718bbce775e13a82893be519ddd98b2f3a4942
2016-02-05 04:39:11 +00:00
drh
33c1eb6477
Merge all recent enhancements from trunk.
...
FossilOrigin-Name: f3f9200115caf4b356f90ec97c351d1afbcb9bf6
2016-02-02 02:22:30 +00:00
drh
ed94af5eb9
Number VDBE opcodes starting with 0 instead of 1, as this obviates the
...
lower-bound test on "switch(opcode){...}", making the code smaller and faster.
FossilOrigin-Name: 4c9222f75bfac47f5422fff86b2d69a61933b3a2
2016-02-01 17:20:08 +00:00
mistachkin
00029a1add
Minor correction to the batch tool changes in the previous check-in.
...
FossilOrigin-Name: 7c89d75de1e8d44d7ebd8eac1320b50dd6c221a8
2016-01-28 00:04:32 +00:00
mistachkin
5a2412f418
Match the MSVC batch build tool sub-routine 'fn_UnsetVariable' a bit more robust.
...
FossilOrigin-Name: 1edd5f31b9e6f91bb5434055a539428c000f1084
2016-01-27 23:50:14 +00:00
mistachkin
d5be6f01cd
Support building for Windows 10 desktop using 'MinCore.lib'.
...
FossilOrigin-Name: 4bf89891fbb076364dc45a6bf3246efa6bc33d5d
2016-01-27 07:28:33 +00:00
drh
021f9a6605
Move Makefile.min.msc into the autoconf subdir where it belongs and change
...
its name to Makefile.msc. Adjust build scripts accordingly.
FossilOrigin-Name: 12eb8db79697ef55228c78011d275f36f58271e1
2016-01-23 20:34:27 +00:00
mistachkin
4a25549b08
Minor coding style tweaks for the mkmsvcmin tool.
...
FossilOrigin-Name: c15e0fc4be08b92547bea1f1cac65581ef497409
2016-01-23 20:16:40 +00:00
drh
ac779bcbe9
Adjust the amalgamation-tarball build process so that it includes the
...
MSVC makefile and the sqlite3.rc resource file.
FossilOrigin-Name: e420f3dc93a0e3364f0773950b7a125f5221a109
2016-01-23 20:09:30 +00:00
drh
06cee48728
Improved comments on the transformation script and on the generated Makefile.
...
FossilOrigin-Name: c6e633ab73812fe38f3e969f1652f1b5759096e4
2016-01-23 19:47:00 +00:00
mistachkin
408273e722
Use the -integer option when sorting list elements.
...
FossilOrigin-Name: 949aa614e1401f6ab61cbb2e0469c60d764e6880
2016-01-23 19:24:19 +00:00
mistachkin
3e7860938b
Add tooling to create an MSVC Makefile capable of building the core library and shell only, using a pre-built amalgamation.
...
FossilOrigin-Name: c46f1a13cb00264d1164399059250884c7be4ea0
2016-01-23 07:53:04 +00:00
drh
cb75bff3f7
Merge the latest fixes and enhancements from trunk.
...
FossilOrigin-Name: 007e5c6df60f9743ac6914332f59925e4a7a861c
2016-01-14 14:48:17 +00:00
drh
62e63bb9a9
Fix harmless compiler warnings in sqldiff.c.
...
FossilOrigin-Name: 74808a79ea3194f6cc00084b9dccc380846a6051
2016-01-14 12:23:16 +00:00
drh
8de1d77c60
Merge the latest enhancements from trunk.
...
FossilOrigin-Name: c0be246a740c8f33a7c07e1414688364dee56ece
2016-01-01 13:25:06 +00:00
mistachkin
8ccdef6be4
Fix some more harmless compiler warnings.
...
FossilOrigin-Name: 18f531e1cf3c8bb986d912c9c5e3f5698360c93e
2015-12-16 22:06:52 +00:00
drh
173b60999e
Merge recent enhancements from trunk.
...
FossilOrigin-Name: f6c9273cab877b8b6b327250195f3392393d060a
2015-12-16 19:47:54 +00:00
dan
991c5d6413
Update the mkautoconfamal.sh script to make the building of the sqlite3-autoconf-VERSION.tar.gz package more orthodox.
...
FossilOrigin-Name: 1928f8945b7cdf733129619b7ab02d1addf63478
2015-12-15 19:32:12 +00:00
drh
3592680734
Add the SQLITE_OMIT_PARSER_TRACE compile-time option.
...
FossilOrigin-Name: 2fda43e6e097a4a5510cce7784c31ceedc3d6e6d
2015-12-15 13:50:22 +00:00
mistachkin
a295d1521a
Update the TclKit download URL.
...
FossilOrigin-Name: 07e5199c6f868cc02a0b708865254056c4f3daf3
2015-12-08 00:47:32 +00:00
mistachkin
855ed4a3b4
Update MSVC batch build tool to the latest Windows 10 SDK version.
...
FossilOrigin-Name: 2ad5017190334b7dd53294a30c3b3232e0c35869
2015-12-07 23:31:59 +00:00
drh
1bb15fc973
Merge recent enhancements from trunk.
...
FossilOrigin-Name: d1a1278d7f3306536dc9cbd8fb300898f1e373e8
2015-12-02 20:40:26 +00:00
drh
06db66f989
Fix the sqldiff utility program so that it works for schemas that have
...
tables with zero-length column names.
FossilOrigin-Name: 64263ccb8f9835c615242de6e28db24f953422fa
2015-11-29 21:46:19 +00:00
drh
769dc6e2a2
Merge the latest enhancements from trunk.
...
FossilOrigin-Name: 7d6cfc79e7e5534ebacd980479917bc528a638f7
2015-11-19 19:40:40 +00:00
drh
1a1d3cd2f3
Create the new TK_ASTERISK token to represent the "*" in "SELECT *". Formerly
...
that operator was TK_ALL, which was also used for UNION ALL. Less confusion if
they operator symbols are distinct.
FossilOrigin-Name: 201ac6d449431dadc6b29faecd68b559bd64bc9f
2015-11-19 16:33:31 +00:00
mistachkin
81c7811fe7
Fix harmless compiler warning.
...
FossilOrigin-Name: eea26b6caea37422c9b46a7a3a538b0c9575f392
2015-11-17 19:16:39 +00:00
drh
05d4ebf6c3
Add the --transaction option to the sqldiff tool.
...
FossilOrigin-Name: 8882d1f3ef0fc53d7c19918c3af43c5bdd79e88f
2015-11-13 13:15:42 +00:00
drh
8d4482da96
Always parse the schema *before* running "PRAGMA cache_size", not after.
...
FossilOrigin-Name: 12e7d9ec023db4dd837f76006c87defc5a3e9388
2015-11-12 22:15:18 +00:00
drh
9b0cf34f81
First attempt at enhancing the "PRAGMA cache_spill" statement to accept a
...
cache threashold size.
FossilOrigin-Name: 549d42be0dac87dc04c3eeccfdc60615c3a6ad3f
2015-11-12 14:57:19 +00:00
drh
0c4105ee19
Improved output formatting for "PRAGMA parser_trace=ON;".
...
FossilOrigin-Name: e43e1171fd7837a08069dc25df4eac14db1c2afe
2015-11-10 14:51:22 +00:00
drh
54bb56d82a
Performance enhancement to the tokenizer.
...
FossilOrigin-Name: 6ea2df86c95c226052f528424e9bee367a2e765a
2015-11-10 03:30:51 +00:00
drh
822a62f84d
Fix a comment typo in the lempar.c template that was missed by the prior
...
check-in.
FossilOrigin-Name: c4a7e93fca622fd11a6e16161fbd2f39c2575f00
2015-11-09 19:35:18 +00:00
drh
82415f2d8d
Change the parser to use the standard "lempar.c" template over in the tool/
...
folder rather than the customized "lempar.c" found in src/.
FossilOrigin-Name: 0a72991f4e54548f6c3268c5a9cac1c8d6437d26
2015-11-09 19:33:42 +00:00
drh
a441404f92
Avoid recursion in the yy_find_shift_action() routine of the Lemon-generated
...
parser, so that routine can be inlined, for a size reduction and performance
increase.
FossilOrigin-Name: 0557a179f932296cc1fd5217f9a0d2f74e34ce1d
2015-11-09 15:06:26 +00:00
drh
3781f01780
Size reduction and performance improvement in the stack-popping logic of
...
the Lemon-generated parser.
FossilOrigin-Name: 9748c48a4fbd5c06208bbf80e7bfcb159ec026d9
2015-11-09 14:11:37 +00:00
drh
7450494c50
Fix incorrect WHERE clause in sqldiff, as reported on the mailing list
...
by Youcef Hilem.
FossilOrigin-Name: e0ed4c3e376248dfbf903e4b5845f910824fa6c6
2015-11-09 12:47:04 +00:00
drh
f10b1f78ee
Check in the cg_anno.tcl and run-speed-test.sh scripts, as an historical
...
record.
FossilOrigin-Name: 836418d3b7cfcd5ec375c4e08c09bd6b78646307
2015-11-09 12:44:19 +00:00
drh
0739e45bcd
Small size reduction and performance increase in the parser.
...
FossilOrigin-Name: d62cd757a69cc49c2d309e27c948610b5868632f
2015-11-09 02:08:09 +00:00
drh
edd2260b40
Enhance the sqldiff utility to deal gracefully with ALTER TABLE ADD COLUMN.
...
FossilOrigin-Name: 7ea036ac37397ed8f6a0fa9f5bfc0994364b53dc
2015-11-07 18:32:17 +00:00
drh
d286b9fb7d
Merge all the latest enhancements from trunk.
...
FossilOrigin-Name: 395a153ff7b3c7a72f3d02b6fe76d72383f4e480
2015-10-30 16:50:00 +00:00
drh
e44b835e63
Add the --enable-editline option to various autoconf scripts.
...
FossilOrigin-Name: 866f0277781dedf0db287ec5902a138406a172e3
2015-10-30 14:25:57 +00:00
drh
c56fac7483
Fix uses of ctype functions (ex: isspace()) on signed characters in test
...
programs and in some obscure extensions. No changes to the core.
FossilOrigin-Name: 34eb6911afee09e779318b79baf953f616200128
2015-10-29 13:48:15 +00:00
mistachkin
de4148e304
Enhance comments in the MSVC batch build tool.
...
FossilOrigin-Name: 2964ce25864e8aec86272af741caf49c23c86590
2015-10-29 01:11:39 +00:00
drh
1167d32716
Make the internal sqlite3PExpr() interface responsive to the
...
TKFLG_DONTFOLD flag on the operator parameter.
FossilOrigin-Name: b10ab59fb8a696d11a269f3904e799c687246aea
2015-10-28 20:01:45 +00:00
drh
5db9901479
Merge the version 3.9.1 updates.
...
FossilOrigin-Name: 2bbb9595ccc4fdd854bf16a1efcddbc42a7ff14e
2015-10-16 20:20:08 +00:00
drh
0b086403b4
Cherrypick the json form-feed fix, and other #ifdef and build script changes
...
to address minor issues that came to light after the 3.9.0 release. Update
the version number to 3.9.0. No logic changes except for the form-feed
bug-fix in json1 (ticket [57eec374ae1d0a1d4a]).
FossilOrigin-Name: 746fcd2fd412ddc27071827fb20eb6df0741dfb1
2015-10-16 15:56:27 +00:00
drh
1cfc44392c
Fix the fuzzershell utility program so that it compiles with the
...
amalgamation that includes JSON1 support.
FossilOrigin-Name: d6fc616e4c8a024f71a044e61f0493dea7d9c812
2015-10-16 15:42:50 +00:00
drh
c24658b5d7
Improved header comment on the tool/vdbe_profile.tcl script. No changes to code.
...
FossilOrigin-Name: b17ad8fc046ebc9529d1c146437a383e72217b01
2015-10-16 12:39:52 +00:00
drh
9676c48199
Make sure sqlite.h is not #included by itself.
...
FossilOrigin-Name: a61880c223c2229ecc3b4da7e5647eca17f7ddf5
2015-10-15 12:06:11 +00:00
mistachkin
8873996b7b
In the MSVC makefile, add LIBTCLPATH variable to make it easier to run tests when the Tcl library is not already present in the PATH.
...
FossilOrigin-Name: 54127602b9a555f73f5e446b91e460386cb8fb17
2015-10-14 23:04:08 +00:00
mistachkin
cdabd7bd50
Fix harmless compiler warnings.
...
FossilOrigin-Name: 1c46c194a2da24fe613d77b5a8d727cc2fc9faa4
2015-10-14 20:34:57 +00:00
drh
fdefc36792
Update makefiles to remove all uses of "awk" - to make building SQLite easier
...
on Windows systems. The only requirements now are tclsh, a C compiler, and
common file utilities.
FossilOrigin-Name: 4bd0d43db7c1877f2d8a8d2f2a48f24a10f0c3b8
2015-10-14 20:03:00 +00:00
mistachkin
fcbe99ae38
Remove AWK requirement from the MSVC batch build tool.
...
FossilOrigin-Name: 6d9cdb931cf4e2f0830184cff32e441e4966bd7e
2015-10-12 03:56:21 +00:00
mistachkin
cf9fb7eb1c
The TclKit batch tool should not download the TclKit SDK when the TCLKIT_NOSDK environment variable is set.
...
FossilOrigin-Name: 7c5d583bac89f8db94e7f73df09e1d04f0f24990
2015-10-12 03:44:39 +00:00
mistachkin
5b66350ac7
Enhance TclKit batch tool (and MSVC makefile) to support targets that require the Tcl stub library.
...
FossilOrigin-Name: bc6223b1d6c31a47c7b734cfb8a9ecf15ab809fc
2015-10-10 23:39:55 +00:00
mistachkin
946ef60ad0
Fix typo in the MSVC makefile. Replace remaining uses of AWK in the MSVC makefile with a Tcl script.
...
FossilOrigin-Name: f8c2193b64979a2fe480fcf913573b5fac06235e
2015-10-10 01:55:57 +00:00
mistachkin
cc7304888f
More fine-tuning to the new TclKit tools.
...
FossilOrigin-Name: 43addd8aa04c3faceb9d303672e330294af01a16
2015-10-10 00:53:28 +00:00
mistachkin
dfff1ffec6
Tweak batch tool added in the previous check-in to permit the base URI to be overridden.
...
FossilOrigin-Name: 1d2f82df6774f8d66bfc5d67d5dad9f068a1069c
2015-10-09 18:48:47 +00:00
mistachkin
80372ae248
Add tool capable of downloading a TclKit (and its associated SDK) on Windows.
...
FossilOrigin-Name: 50673ddaf813335777673fa8585997a7551e5323
2015-10-09 17:36:06 +00:00
drh
973bc6f1a8
Merge the version 3.9.0 changes and the incorporation of JSON1 and FTS5
...
into the amalgamation from trunk.
FossilOrigin-Name: c1d96fb654b2c0f66d586aa39d80ea0468186690
2015-10-09 15:29:24 +00:00
drh
45fac88951
Trying to get FTS5 tests to build and run using main.mk. Not yet working.
...
FossilOrigin-Name: 206174f9b154c590a3e2e94236db38e111d64bdb
2015-10-09 01:42:49 +00:00
drh
50065656f7
First attempt to add json1 and fts5 to the amalgamation. This check-in does
...
not compile.
FossilOrigin-Name: d820a1bd1b8dd702d1b3a099af393530cc5a5d51
2015-10-08 19:29:18 +00:00
drh
2d000eafbe
Merge the 3.8.12 beta changes from trunk.
...
FossilOrigin-Name: 35b1b8d4b97715030700e37b292bb4f1bb3f44d6
2015-10-08 14:55:30 +00:00
drh
48cc9a31e1
Convert the tool/tostr.awk script into tool/tostr.tcl. Remove two obsolete
...
Makefiles. Purge NAWK from the configure script and from unix makefiles.
There are still two uses of NAWK in Makefile.msc.
FossilOrigin-Name: 5b6775215327a89232f5059653747a18e83b8b4b
2015-10-07 12:36:42 +00:00
drh
60a15a48c5
Change the addopcodes.awk script into tool/addopcodes.tcl.
...
FossilOrigin-Name: 8bbf37142ef2759274668f6da114b5c8072e42db
2015-10-07 12:21:14 +00:00
drh
7651e0a439
Convert the mkopcodec.awk script into tool/mkopcodec.tcl.
...
FossilOrigin-Name: 1506cb33fcf61e2ef97b35b99e58fbf21f4f5496
2015-10-07 12:11:36 +00:00
drh
b15393b8d5
Change mkopcodeh.awk into tool/mkopcodeh.tcl.
...
FossilOrigin-Name: ed0ebc460b54939862e3bddee2bb9bcb9f69c747
2015-10-07 02:52:09 +00:00
drh
ee38148785
Remove three obsolete and unused files from tool/
...
FossilOrigin-Name: 0abd65294e6e8db68e7ce6724f02f17ba1cb3422
2015-10-07 00:35:18 +00:00
drh
9ec0efd946
Merge all the latest trunk enhancements into the sessions branch.
...
FossilOrigin-Name: c91065f8edb1e54076791716fc20d3fcfe3070dc
2015-09-24 14:26:51 +00:00
drh
b97ad0297c
Add the --disable-lookaside option to the fuzzershell utility program.
...
FossilOrigin-Name: 0b04374449c8279ad038def7c18cd74f180a0515
2015-09-19 19:36:13 +00:00
drh
5f4a44a439
Adjust fuzzershell so that it adds the json1 extension separately for each
...
no connection.
FossilOrigin-Name: ca2d1e9036387d1514fe596a0b82a3d8409797c3
2015-09-19 14:57:00 +00:00
drh
d7f2beab86
Include json1.c in fuzzcheck and fuzzershell.
...
FossilOrigin-Name: c4b68eff7f8f5402a9abf378157767b1c96a6101
2015-09-19 14:32:51 +00:00
drh
91762f2d18
Merge the latest trunk enhancements.
...
FossilOrigin-Name: 22ce9218fb2bb56cc5dd4e32077a16f669250d5f
2015-09-14 10:47:29 +00:00
drh
0c6dfaa34a
Remove an unused local variable from Lemon.
...
FossilOrigin-Name: fe9ffe5eed7d376f3f08c78c1ce5514c886f3479
2015-09-08 21:16:46 +00:00
drh
310a8d6668
Fix the help message that sqlite3_analyzer.exe generates for invalid
...
arguments.
FossilOrigin-Name: 33a14e7be1004abca7a30f675459138d7f8d72b1
2015-09-08 17:31:30 +00:00