drh
e772bc7d30
Version 3.16.0
...
FossilOrigin-Name: 04ac0b75b1716541b2b97704f4809cb7ef19cccf
2017-01-02 11:57:58 +00:00
drh
245ce62ea2
Detect row-value comparison size mismatches even when the size of one
...
operand is obscured by an unexpanded subquery.
FossilOrigin-Name: 2c4d167ccd4be591487f404de9ee629fd484c8bf
2017-01-01 12:44:07 +00:00
drh
e2b45d1789
Add the --help and --all options to the wordcount test utility.
...
FossilOrigin-Name: 18baeadfc89f6252e38dbc22904b11c5b56347ee
2016-12-31 21:55:23 +00:00
drh
aa430bfb00
In speedtest1.c, make the "--lookaside 0 0" option completely disable lookaside.
...
FossilOrigin-Name: 52b99bcbf18f34196ec29f829c6af539e0d05524
2016-12-31 18:37:50 +00:00
drh
eb25713e91
Minor #include change to speedtest1.c so that it will compile under MSVC.
...
FossilOrigin-Name: 8c28fde004678c85524770969eb001719b109179
2016-12-31 14:33:05 +00:00
dan
3043b53222
Fix a crash that could occur following an OOM in the group_concat() function
...
if the second argument is an SQLITE_BLOB value.
FossilOrigin-Name: 14d855d2b2b5b3485e0673d11405db7266b34c6d
2016-12-30 17:40:14 +00:00
drh
1d081ab39e
Strengthen the defense against OOM in the instr() SQL function.
...
FossilOrigin-Name: a0971e713682a73d8c7c20511db256c20d2f6388
2016-12-30 15:16:20 +00:00
drh
5f4ade0473
Add a test to ensure that the app-defined pcache xFetch() method is never
...
passed a key of zero.
FossilOrigin-Name: 0bdbe49c6d392c4c86a6c01219c9d91d150dea7d
2016-12-30 14:25:42 +00:00
dan
895decf6b5
Avoid passing NULL pointers to memcmp() or memcpy(), even when the
...
"number-of-bytes" argument is passed 0.
FossilOrigin-Name: 56ff72ab44288296efc99a608f7edc4346366a50
2016-12-30 14:15:56 +00:00
drh
d0d7e13511
Fix a harmless compiler warning in fuzzcheck.c
...
FossilOrigin-Name: 2842bc60538369f888c7df8365858c910322277d
2016-12-30 12:10:48 +00:00
drh
9c4dc22926
Disable the pagerAcquireMapPage() routine if memory-mapped I/O is disabled.
...
This fixes a harmless compiler warning on OpenBSD.
FossilOrigin-Name: 3e25ba6e42fba239795a465b8510386a361ee5be
2016-12-30 12:06:22 +00:00
drh
fb4e3a3bbb
Encode a 64-bit integer literal in date.c as a constant expression so that
...
it works on older compilers. Also fix a harmless compiler warning in vdbe.c.
FossilOrigin-Name: f57952bac652901e1bd48b68301941efbcf29dc4
2016-12-30 00:09:14 +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
cae20d5cf1
In kvtest.c, use stat() instead of fseek()/ftell() to determine the size of
...
a BLOB to be read directly from disk. This makes the pile-of-files database
more competative against SQLite.
FossilOrigin-Name: a7dca29f03e037fe71cc600db97f8058e3bd28a4
2016-12-29 17:25:06 +00:00
drh
03d0c20bbd
Add the kvtest.c test program used to show that it is many times faster to
...
read thumbnail and similar BLOBs out of an SQLite database than it is to read
them as separate files from the filesystem.
FossilOrigin-Name: 8074d59cf177cb91ee371e2660f2c59ce540b7e2
2016-12-29 16:58:01 +00:00
drh
2f917e05d7
Add more detail to the header command to further explain how to compile and
...
use the kvtest.c utility.
FossilOrigin-Name: 55d29839c9fafe9e6a694f5790151d1f22396b01
2016-12-29 16:49:22 +00:00
drh
d7b9b97c3b
Fix kvtest.c so that it compiles using MSVC.
...
FossilOrigin-Name: e2bbeae7e77cde531885ca492494a02e5322154d
2016-12-29 16:18:35 +00:00
drh
6739c692ba
In kvtest.c: do not show the --cache-size setting on fopen() runs.
...
Show progress for the (potentially slow) "export" command.
FossilOrigin-Name: b0f58d2470e08b9c217afd19fcfde3e6d1007d1d
2016-12-29 15:26:50 +00:00
drh
61c565f63b
Improvements to the kvtest.c utility. Added the --cache-size option.
...
Additional reporting of version and settings at the end of "./kvtest run".
FossilOrigin-Name: f6fcac6ae8b3bffee6bf994eef2064affd301a95
2016-12-29 14:44:43 +00:00
drh
cac028ba19
Add the kvtest.c test program for measuring key/value read performance under
...
various scenarios.
FossilOrigin-Name: 489e0787c1ea47963174387e8ade6295ceff568e
2016-12-29 03:57:43 +00:00
drh
402124de5c
Do not allow the nockpt.test module to run under the inmemory_journal
...
permutation.
FossilOrigin-Name: a6af06f164b1f65779e2171ec4946119c66f9be8
2016-12-27 15:59:15 +00:00
drh
575242f66f
Allow sqlite3_interrupt() to be invoked on a database connection that is in
...
the process of being closed even if SQLITE_ENABLE_API_ARMOR is defined.
FossilOrigin-Name: 7854bee260996087bdb7f8729ba8cfb4f467f93f
2016-12-27 13:33:52 +00:00
drh
5ad74a761d
Adjust a corruption test case to accommodate the sqlite3BtreeInsert()
...
optimization of check-in [0b86fbca66].
FossilOrigin-Name: 4cb0945f13f2040c8b67936b950da48fc951d55d
2016-12-27 12:45:41 +00:00
drh
218c66e0e3
Disable new test modules nockpt.test and interrupt2.test for incompatible
...
permutations. Add a CORRUPT_DB term to an assert() in vdbe.c.
FossilOrigin-Name: a54e619e6f0266932c8873f9ac826fd042a0602f
2016-12-27 12:35:36 +00:00
drh
1aa346950e
Avoid a potential (harmless) signed integer overflow in memory usage
...
accounting when calling sqlite3_realloc() to reduce the size of an
allocation.
FossilOrigin-Name: 2d71cbdf6bc24f0269027c70b39ea7f342436bdb
2016-12-27 12:08:36 +00:00
drh
c595419910
Minor changes to make some newer test cases work under more compile-time
...
options.
FossilOrigin-Name: 382eea36c56f866efee1321f643687a4061e8b9e
2016-12-27 02:43:47 +00:00
drh
dfcfff646a
During fuzz testing with the fuzzcheck utility program, impose a record
...
length limit of 100MB and a limit on the length of LIKE strings of 50 bytes.
FossilOrigin-Name: edc9db41f3ee200ba44579a46ed8331bbbbf539e
2016-12-26 12:25:19 +00:00
drh
e6ce2b6704
Enable ossfuzz.c to build even if SQLITE_OMIT_PROGRESS_CALLBACK is defined.
...
FossilOrigin-Name: a37c00dcd192f9d610ecb91810ef57ef41d1f6a6
2016-12-26 12:14:44 +00:00
drh
9cc5b4eeb5
Remove an incorrect ALWAYS() macro from balance_nonroot(), which could result
...
in corrupt databases if it were optimized out. This ALWAYS was added
only two weeks ago (check-in [f9f2e23bbd68a]) and has never appeared in an
official release.
FossilOrigin-Name: e447b23cfd7bb31817e42adb3a98868d351c6b8a
2016-12-26 01:41:33 +00:00
drh
a1a523a5bb
Add the built-in affinity() SQL function.
...
FossilOrigin-Name: 57e40e1cb1bcd3dd8473d2fdeecc9c7ff3d6192b
2016-12-26 00:18:36 +00:00
drh
beaf514e23
Enhance the fuzztest utility with the --prng-seed option. Always reseed the
...
PRNG prior to each test.
FossilOrigin-Name: 8c5187f69d719b69aa6eaf2dc8f89243e5979222
2016-12-26 00:15:56 +00:00
drh
6a5a4208fc
Combine the implementations of the ".tables" and ".indexes" commands in the
...
command-line shell. The ".indexes" command now puts the indexes in multiple
columns, just like ".tables" and shows all indexes in all attached databases.
FossilOrigin-Name: def29333655691c7d54451193be13445a2857d29
2016-12-24 21:32:40 +00:00
drh
2951809ed4
The schema name "main" is always an acceptable alias for the primary database
...
even if the primary database is renamed using SQLITE_DBCONFIG_MAINDBNAME.
FossilOrigin-Name: 2f481b854f04bec546eb172d1b6dbc88067d3fda
2016-12-24 19:37:16 +00:00
drh
b20a61b704
Change the output format of the ".databases" command in the command-line shell
...
so that it shows the schema name, a colon, and the corresponding filename.
FossilOrigin-Name: 8558512e9ca343300a767ef23810f2d7b50fd925
2016-12-24 18:18:58 +00:00
drh
a4b81d2a44
In the command-line shell, improve the formatting to the ".databases"
...
command and on the ".tables" command, only show the schema prefix for
databases past the first ("main") database.
FossilOrigin-Name: c0d5626e274cbf8c2d2167183c4d6835d72dae57
2016-12-24 18:04:28 +00:00
drh
6bd4dc6dc4
Fill in missing opcode documentation entries for OP_SorterNext and
...
OP_SorterSort.
FossilOrigin-Name: 2940661b8c014b94973e05c44f1b1f4f443dbdd3
2016-12-23 16:05:22 +00:00
drh
cfdc235ec3
Use the VList object to capture the mapping between SQL parameter names and
...
variable numbers in a single memory allocation.
FossilOrigin-Name: 99fddf2ecb7202bfdf5ddc4cc1c4e155c883f7ec
2016-12-23 13:54:22 +00:00
drh
ce1bbe51b5
Add check to prevent a VList from growing after pointers to labels have been
...
taken.
FossilOrigin-Name: aa23d7eaf69f5ecbf9500b2353846094cae41e6c
2016-12-23 13:52:45 +00:00
drh
f326d66d61
Fix the VList object so that it actually works.
...
FossilOrigin-Name: 9dcd85698af46fd5ba34004ca690d368c4ae3078
2016-12-23 13:30:53 +00:00
drh
9bf755cc44
Use the VList object to replace Parse.azVar for tracking the mapping between
...
SQL parameter names and parameter numbers. There is a performance
improvement, though there are still a few hiccups in the current code.
FossilOrigin-Name: 68ecafa1425a41358c88f41efea3262f1b4490f2
2016-12-23 03:59:31 +00:00
drh
344a1bf133
Fix harmless compiler warnings.
...
FossilOrigin-Name: fa86db2f915c0a189c3be02b1aaa7f24d339d7d6
2016-12-22 14:53:25 +00:00
drh
cdfffed790
Change the default lookaside configuration from 500 slots of 128 bytes each to 125 slots of 512 bytes each. This uses the same amount of memory (64,000 bytes) but seems to perform much better in test applications.
...
FossilOrigin-Name: 52a12e47de88744187bd1c71f2820885cde414a8
2016-12-21 21:26:58 +00:00
drh
a582b01698
Simplifications to the way UnpackedRecord objects are allocated. Smaller
...
and faster code that also fixes a subtle (currently unreachable) bug.
FossilOrigin-Name: f7ab01f254cd9d7006b8dec29adb234a671b8e6f
2016-12-21 19:45:54 +00:00
drh
f99dd359d0
Change the OP_IfNotZero opcode so that it decrements register P1 by 1 rather
...
than the value in P3, and so that it only decrements if originally positive.
This avoids decrementing the smallest 64-bit signed integer.
FossilOrigin-Name: 165c044686212fbf7182dd560ad1e57eb4cc9838
2016-12-18 17:42:00 +00:00
drh
22d709dd91
Refinements to the new dbfuzz test program.
...
FossilOrigin-Name: 50325abe79b6a79b09ec6a1cee7d80ca02337428
2016-12-17 21:07:30 +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
dan
11da002c02
Fix a problem in the shell tools readfile() command causing blobs to be
...
truncated at the first embedded 0x00 byte in release builds, or an assert() to
fail in a debug build.
FossilOrigin-Name: 8dedd6ad44bd1d103dced9d1350188cb2327128d
2016-12-17 08:18:05 +00:00
drh
d47c6c495d
Add the ".lint fkey-indexes" command to the command-line shell.
...
FossilOrigin-Name: 94689e3bdac2eabbcf1a51d741c2604ed4bd8a40
2016-12-16 18:43:49 +00:00
drh
3fd9f33bd1
Fix minor issues with the ".lint" command implemention in the shell and
...
the shell help text related to ".lint".
FossilOrigin-Name: 1268dc77712d85de0b62332c88b22f7489f4e87f
2016-12-16 18:41:11 +00:00
drh
186c930702
Built-in PRAGMA statements without side-effects can be invoked as
...
table-valued functions by prefixing their name with "pragma_".
FossilOrigin-Name: d66ec5cfb67c6c8134fb642e0c2f72113fe1b7fd
2016-12-16 18:14:19 +00:00