drh
69bfa55279
Fix a subtle bug in Lemon discovered and reported on the mailing list
...
by Kelvin Sherlock, who also suggested the correct fix.
FossilOrigin-Name: 304689f8acb53d68e1afed6e6c4332e78132e3d57071b8f94df0d13515b3b3d8
2017-04-26 04:32:17 +00:00
drh
bff6fe1f40
Improved optimizations of views as the right operand of a LEFT JOIN.
...
FossilOrigin-Name: 41c27bc0ff1d3135cdb6273ede4595f5bb0c0e1e1d470ea1633cb525674cf431
2017-04-18 11:20:19 +00:00
drh
b6d5a43b8a
In the showwal command-line tool, for unix builds, if the
...
auxiliary argument is of
the form "Ntruncate" where "N" is a frame number, then truncate the WAL
file after the N-th frame.
FossilOrigin-Name: 90015df30655d884ecf7ae61e588824696954252dc6b1a5f78cf2de8cb236104
2017-04-16 22:41:49 +00:00
drh
06f60d8e87
Remove end-of-line whitespace from lemon.c.
...
FossilOrigin-Name: d78355c85f49e139f1ac1a660563865350f0e442652b7bc50b684398f81cc602
2017-04-14 19:46:12 +00:00
drh
14d8855b8f
Fix some left-over K&R-C constructs in lemon.c. No changes to the core.
...
FossilOrigin-Name: a53799059d4ece246610b6c877ab7088ded3548cbca7149a03deea8ac0e27e68
2017-04-14 19:44:15 +00:00
drh
31d6fd5507
Add the TK_IF_NULL_ROW opcode to deal with non-NULL result columns in the
...
result set of a view or subquery on the RHS of a LEFT JOIN that gets flattened.
FossilOrigin-Name: 3a5860d86fadcf924316707918bf283d26c53b1473e5e67f5cff59d18c2a7742
2017-04-14 19:03:10 +00:00
mistachkin
b1ed717f18
Make USE_FULLWARN=1 the default for MSVC and fix harmless compiler warnings.
...
FossilOrigin-Name: 6bf673767b8e5cedef1acff795cbe524fab8db2525c06424db4e038934a33936
2017-04-14 14:50:34 +00:00
drh
761f691d0e
Force a schema load prior to "PRAGMA optimize".
...
FossilOrigin-Name: 86897c24c0b35ffea8df72d86a099addf67de210c6568aaba22ef92f1a60c3cf
2017-04-03 13:33:51 +00:00
drh
970ea372c4
Fix a problem in the "showdb" utility that prevents it from correctly
...
decoding cells with no content beyond the record header.
FossilOrigin-Name: eb7680a1c047b2a33d6a0c9733fafaee11272377c627af10bbd541b6b7ed952b
2017-03-16 13:14:03 +00:00
drh
1cfaf8eafb
Add an optional bitmask of allowed optimizations on the "PRAGMA optimize"
...
command. The 0x01 bit is Debug Mode.
FossilOrigin-Name: a35388eef4096c1856b025dbd90143409d4a72d3
2017-03-02 14:17:21 +00:00
drh
8d990b34db
Merge recent trunk enhancements.
...
FossilOrigin-Name: c60cdb47612c05c252613e50a8ac10635469fdfe
2017-03-02 13:22:04 +00:00
mistachkin
6e5688d375
Make PATH handling more robust in the batch tools for MSVC.
...
FossilOrigin-Name: 23a8917e848a999533bc66467f7cb2f4f3d45bc1
2017-02-27 17:16:27 +00:00
drh
2ead47cb49
Change the name of the analyze_as_needed pragma to "optimize". Enhance the
...
comment (which will become documentation, assuming these changes land on trunk)
to explain that the optimize pragma is likely to be enhanced in various ways
in future releases and that applications should not depend upon the current
behavior.
FossilOrigin-Name: 9fced545a6f80c55d6dc4a6106cb2d3569566b3e
2017-02-22 20:24:10 +00:00
drh
72052a73a3
Add the "PRAGMA analyze_as_needed" command.
...
FossilOrigin-Name: e93db2373127d31d33ec46ef918fa9386bb664a6
2017-02-17 16:26:34 +00:00
drh
a3928dd7be
Set the TF_StatsUsed flag on tables when the query planner outcome is
...
affected by the sqlite_stat1 data. Also, change the column names of the
"PRAGMA stats" command so that they are not keywords.
FossilOrigin-Name: fb2b8ae8310e4ea4b42354bbf36c3084a9d5c6d7
2017-02-17 15:26:36 +00:00
drh
33bec3f5e8
Enhance the Index and Table objects so that they remember if their stats come
...
from the sqlite_stat1 table. Make the "PRAGMA stats" an SQLITE_DEBUG only
pragma. Add the flags column to "PRAGMA stats". These are all preliminary
steps toward a "PRAGMA analyze_ifneeded;" feature.
FossilOrigin-Name: 85026c8ee143bbd46565660fff8346ef81421546
2017-02-17 13:38:15 +00:00
mistachkin
953fbd16af
MSVC makefile enhancments for several command line tools and the session extensions.
...
FossilOrigin-Name: fc1dfe870279531d77ffb18a9ca4b4dcbc7aab8d
2017-02-07 21:09:34 +00:00
drh
943aa77a8a
Add the "max-limits" utility program to the tools/ subdirectory.
...
FossilOrigin-Name: c54173b6c1acbb41ed9c323099e94b8e02c6c895
2017-02-06 15:27:44 +00:00
drh
0caad09585
Remove a C99-style comment. Fixes to the kvtest-speed.sh script.
...
FossilOrigin-Name: 91eb6b628e278d20eccc647293e5b30765163e12
2017-01-31 16:49:01 +00:00
drh
9dc7ad1d7e
Add the "stat" command to kvtest.c. Also add the --variance option to the
...
"init" command. Add the tool/kvtest-speed.sh script used for doing
performance testing on key/value access patterns.
FossilOrigin-Name: b63deed600b1a457a6960ebad5645f4de9c56e5d
2017-01-31 15:29:05 +00:00
drh
d26cc54183
In the amalgamation, allocate the parser engine object from stack rather than
...
from heap, for improved performance. This only happens in the amalgamation,
since otherwise the sqlite3RunParser() routine does not know the object size.
FossilOrigin-Name: 4fe879d4b5da6ae0688a7a99004683a234966597
2017-01-28 20:46:37 +00:00
drh
27c8467734
In the speed-check.sh script, automatically invoke "fossil test-diff --tk" on
...
the cachegrind output against trunk, if not generating a trunk run.
FossilOrigin-Name: aa1ab37100a91ab4bb91d50a1267c26967efcb21
2017-01-28 13:40:55 +00:00
drh
508286701a
Get the "--testset rtree" option working on speedtest1. Add the --rtree,
...
--lookaside, and --clang options to the speed-check.sh script.
FossilOrigin-Name: 87b640c8d07a76b2bc7e896e01965cc09e06f77b
2017-01-20 16:09:12 +00:00
dan
e1ff3f5e11
Ensure that "PRAGMA case_sensitive_like" and "PRAGMA shrink_memory" set the
...
number of output columns to 0 (as they are statements that return no data).
FossilOrigin-Name: 6696cd1878be4bd44a24841b04163e52d847711e
2017-01-06 13:49:40 +00:00
dan
9e1ab1a8a4
Ensure that sqlite3_column_count() returns 0 for the "set" mode of "get/set"
...
PRAGMA statements that do not return a value in that case (e.g. page_size,
cache_size, auto_vacuum).
FossilOrigin-Name: 5c05d8ec5e895661dae2de30c73dfdeaff93511e
2017-01-05 19:32:48 +00:00
drh
96ada59cbb
Fix harmless compiler warnings in the command-line shell and in Lemon.
...
FossilOrigin-Name: afcdc4a60e357d171156e0de705bf7ad1b37daab
2016-12-29 19:48:46 +00:00
drh
6918e2f9b2
Enhance fuzzershell.c to read and execute SQL commands in the autoexec table
...
of the database under test. Add the dbfuzz.c test program combining selected
features of fuzzershell.c and fuzzcheck.c.
FossilOrigin-Name: ef6e071a62cd79a0edbbef9f41ca9482540e5cb8
2016-12-17 20:27:22 +00:00
drh
2fcc1590c4
Code to automatically create eponymous virtual tables for read-only pragmas.
...
Compiles, but does not yet work.
FossilOrigin-Name: 988a61e8b03f302c69d11898d1ea95f002cba1a5
2016-12-15 20:59:03 +00:00
drh
c232aca184
Do more pragma processing from tables rather than in-line code.
...
FossilOrigin-Name: a88ca3524b97f296dffc68335466b3767a681747
2016-12-15 16:01:17 +00:00
drh
26f419800a
Add the --mmap option to the speedtest1 program and to the speed-check.sh
...
script that is frequently used to run speedtest1.
FossilOrigin-Name: 1a636d5e0eec0a4d968519d1dfd35a983e512c78
2016-12-12 23:24:08 +00:00
drh
4c177424a2
Fix the showstat4 utility program so that is displays strings using
...
standard SQL notation (single quotes) rather than C-style notation.
FossilOrigin-Name: 92998e4afbe4da1723e7e5155071a0e7242bd6ff
2016-12-08 23:52:38 +00:00
drh
5f00b9bea7
Fix a minor error in the cg_anno.tcl script causing the cycles-per-file counts
...
to be miscomputed.
FossilOrigin-Name: b26df26e184ec6da4b5537526c10f42a293d09b5
2016-12-08 19:04:36 +00:00
drh
23ee9dc369
Update the tool/cg_anno.tcl script to give a summary of cycle counts by
...
canonical source file name.
FossilOrigin-Name: 254a83bf30c15d6a355db309ccb97a8744675cc3
2016-12-08 18:36:19 +00:00
drh
634133183c
In the LEMON parser-generator, fix the stack overflow processing so that it
...
correct invokes the destructor on the top-level of the parse stack.
FossilOrigin-Name: e8247065cf1d929f42d13864f8a1886ed4d329cd
2016-12-06 17:59:05 +00:00
drh
55377b4717
Fix the ossfuzz.c test module so that it does not segfault after a
...
"PRAGMA empty_result_callbacks=1;". Add the ossshell.c program for
simple command-line testing of ossfuzz.c.
FossilOrigin-Name: 6f2d43eca68175ed28abae3afa792095af906af2
2016-11-14 17:25:57 +00:00
mistachkin
a622d90040
Replace a couple more references to Tcl 8.5 in the Windows build tools.
...
FossilOrigin-Name: 1d0e43c549c36d0919a18d61285e94cad29e7a07
2016-11-03 21:35:10 +00:00
drh
f8a89ca5dd
Add the --repeat option to speedtest1.c and speed-check.sh.
...
FossilOrigin-Name: 6ca0e06b21b0d5f7ae5bcb7839a11a45da0d2cea
2016-10-18 14:35:55 +00:00
drh
432697467f
Add to sqlite3_analyzer command-line options --version and --tclsh, and also
...
the undocumented --debug option.
FossilOrigin-Name: e87d02d289a2016ea3ee074e914b07a8ac22b21f
2016-10-12 18:26:26 +00:00
dan
e288992e19
Updates to the tool/warnings.sh script to make it easier to use on OpenBSD.
...
FossilOrigin-Name: dbe2997f57f8d8f95e4b767bf73b8df3a5e4f783
2016-10-08 09:21:34 +00:00
drh
4eda15e715
Fix a problem with the lempar.c parser template.
...
FossilOrigin-Name: 3a9d802fda10585654332b314d317250dc5d894e
2016-10-04 12:20:12 +00:00
drh
1a7df58c1a
Add SQLITE_USE_ALLOCA to the --lean configuration in speed-check.sh.
...
FossilOrigin-Name: fe07609efc31c4639c40fbda501c55f443756ad2
2016-10-01 23:55:23 +00:00
drh
87f0e9863d
Add -DSQLITE_MAX_EXPR_DEPTH=0 to the --lean option on speed-check.sh.
...
FossilOrigin-Name: a8cb1390fc1234b2e925090c4d770cca5d587bea
2016-09-24 01:41:59 +00:00
mistachkin
5a0da94302
Makefile changes to support building winsqlite3.dll using STDCALL rather than CDECL.
...
FossilOrigin-Name: 5e892d60935e5c82234d1bfaef4c5026061acceb
2016-09-22 18:46:38 +00:00
drh
98ef26b0d4
Fix speedtest1.c so that it works with SQLITE_OMIT_DEPRECATED.
...
Add the --lean and --cachesize options to speed-check.sh.
FossilOrigin-Name: 7785b3a25778cc19861c01f4148f72e0f724f55d
2016-09-21 23:58:49 +00:00
mistachkin
598f7c59e1
Minor enhancement to the TclKit batch tool: it should download the TclKit EXE alone when the TCLKIT_NOENV environment variable is set.
...
FossilOrigin-Name: baceb988c6f4e93134e6a63173e846af2b73531a
2016-09-17 22:46:13 +00:00
dan
12c56aa452
Fix a bug in sqldiff causing it to confuse blobs zero bytes in size with NULL values.
...
FossilOrigin-Name: 264e9c75875796cad773d39b775d4604546bc57a
2016-09-12 14:23:51 +00:00
mistachkin
0e4125a311
Remove an extra space before function names in the amalgamation.
...
FossilOrigin-Name: 20f3c7436f6a8a7bab3968adc010c7c8325e4618
2016-09-08 23:16:02 +00:00
mistachkin
c55c8dbf7f
Merge updates from trunk.
...
FossilOrigin-Name: ea635bf97edb35b95b34adcb63f726f3573b1c4d
2016-09-05 20:40:38 +00:00
drh
8f9d1ad8d5
Merge the fuzzershell enhancement from trunk.
...
FossilOrigin-Name: ed206048484667e4fe6aaeadd65882537d74bd35
2016-09-03 16:24:43 +00:00
drh
9f6dd025ba
Build the generate_series(START,END,STEP) table-valued function into
...
fuzzershell, to make it easier to construct compact test cases that contain
actual data.
FossilOrigin-Name: 672c21bcf09c5bfb67e061456a56be45409c4f34
2016-09-03 16:23:42 +00:00