dan
f062d676ef
Fix a problem with the xPhraseFirstColumn() API in detail=col mode. Remove some unused test code from fts5ac.test.
...
FossilOrigin-Name: a4e55f73b3c81e28b917395089c0201f9a2c9178
2016-01-06 10:17:26 +00:00
dan
10e1535dee
Rationalize and extend some fts5 test code. Fix bugs revealed by the same.
...
FossilOrigin-Name: fd217fdb396cf22278a496de0e9dec7902ba8b1f
2016-01-05 21:04:35 +00:00
drh
9d4c9824da
Always use -DSQLITE_ENABLE_MEMSYS5 for fuzzcheck so that the --limit-mem
...
option will work.
FossilOrigin-Name: a855697719e288c908ddb7950d32fd17ef546509
2016-01-05 03:39:52 +00:00
drh
0816905cdd
Another attempt to get reuse of excess opcode array space working correctly
...
on all architectures and platforms.
FossilOrigin-Name: 2f8583748abab1e15029d3a8693ba9a66c978c2b
2016-01-05 03:39:25 +00:00
mistachkin
98486c046f
Permit the 'test_fs' test module to be compiled and used on MinGW.
...
FossilOrigin-Name: ac27f38eef7a241d56124c263d9f8c91f372a77f
2016-01-05 01:48:29 +00:00
drh
11e3e538d6
Fix a corner case in the opcode-array reuse logic where the number of bytes of
...
reusable space might be computed to be a negative number, due to unusual
system alignment restrictions and rounding error.
FossilOrigin-Name: 1aa530144643582658c8c1dd66548662f950efe3
2016-01-04 23:43:47 +00:00
dan
211bd3a20a
Fix an OOM handling problem in fts5 detail=none and detail=col modes. Also a bug in the xInst() API when used with detail=col and column filtering expressions. Update the matchinfo() test function so that 'b' is fast with detail=col tables.
...
FossilOrigin-Name: ee38f9dff5e9239c541515cd8a1aa3d81fdc0ae9
2016-01-04 19:12:00 +00:00
dan
5af1019691
Update more fts5 tests to run in detail=none and detail=column modes as well as the default detail=full.
...
FossilOrigin-Name: 3fcf3b1e24483b2cd1c1710f053ed8403e09106d
2016-01-04 16:19:51 +00:00
drh
4b4da16344
Fix the conflict2.test module which was broken by check-in [e30062e9f6c].
...
FossilOrigin-Name: b779ca8a7580e2a0bb1176316c4540867b635229
2016-01-04 13:06:53 +00:00
drh
fa385edff3
A new approach to very large sqlite3_mprintf() strings: Back out the
...
[d655a665] check-in and instead make the size fields in StrAccum unsigned.
Strings generated by sqlite3_mprintf() can now be as large as 2^31-1 bytes.
FossilOrigin-Name: 7adb789f45698e5569b840d23f3f9488db3ed109
2016-01-04 12:07:27 +00:00
drh
cc54f43442
Improved comment on the vtabH-3.1 test.
...
FossilOrigin-Name: 22abe08038cc7b66cbc25e733246d210197c9215
2016-01-04 04:44:31 +00:00
drh
5a60c7d142
Adjust the vtabH.test module to ignore files in the root directory of Windows
...
machines that contain the "$" character.
FossilOrigin-Name: 73e3355004b8b7ce2e1bb937725f429795528a4f
2016-01-04 04:41:13 +00:00
drh
6044bf8bf3
Limit the length of sqlite3_mprintf() output to 2^30 bytes, even if
...
SQLITE_MAX_LENGTH is set larger at compile-time.
FossilOrigin-Name: d655a665acfae676d30e90e3731f483bee6acc63
2016-01-04 04:28:11 +00:00
drh
9fbc885afc
Fix a harmless compiler warning.
...
FossilOrigin-Name: 4b404a99aa9bfa6cfe8998f5dc1f84f8be20b840
2016-01-04 03:48:46 +00:00
drh
7f10579a82
Add releasetest.tcl cases for SQLITE_LIKE_DOESNT_MATCH_BLOB and
...
for SQLITE_ENABLE_CURSOR_HINTS.
FossilOrigin-Name: f300c35efa5f7383b2a74b1c9466c243c17815e4
2016-01-04 01:08:50 +00:00
drh
dc0b1f1c29
Bug fix: the conflict resolution behavior for the implied NOT NULL constraint
...
on the PRIMARY KEY of a WITHOUT ROWID table should be ABORT.
FossilOrigin-Name: e30062e9f6cae980150dda7df440b36dfdcb7bbe
2016-01-03 18:07:57 +00:00
drh
41d0ba72ae
Fix a premature reference to utf8_printf in shell.c.
...
FossilOrigin-Name: 76f5efa68728d899a63a74f2528dfd0c497aa5f0
2016-01-03 11:27:47 +00:00
drh
573d88e8ed
Add the number of cores used and the name of the host computer to the
...
summary at the end of releasetest.tcl.
FossilOrigin-Name: cd3ae0f14c6b28b328b208431d0effcb7b062ec6
2016-01-03 11:17:04 +00:00
dan
fe0c3cfee1
Changes to run many fts5 tests with detail=none and detail=col tables as well as the default detail=full. Also fixes for the bugs uncovered by running said tests.
...
FossilOrigin-Name: 6322a1d984e7946735bace8a069ef24b31754b3b
2016-01-02 19:01:56 +00:00
drh
9abe841e9e
Fix a (harmless) typo in an #ifdef for SQLITE_ENABLE_CURSOR_HINTS
...
FossilOrigin-Name: 2047d2deabf2021ea05d620c3dd4919448027b11
2016-01-02 05:00:31 +00:00
drh
bd57308eef
Remember the size of the Vdbe.aOp[] array in bytes, to avoid unnecessary
...
calls to sqlite3_msize().
FossilOrigin-Name: 3e852804c85a5c9f4c4ffafd55d03af6d19fe5cc
2016-01-01 16:42:09 +00:00
drh
3c19bb60d1
Avoid misaligned memory allocations on Sparc in sqlite3VdbeMakeReady().
...
FossilOrigin-Name: a304e34675404aee860fcc97fa4ffcc57c014812
2016-01-01 16:26:22 +00:00
drh
a660caf2f0
Fix an assert() that might be false for a corrupt database.
...
FossilOrigin-Name: 68360cd2211b7ab25dd4ca55a2e82e31f51f2976
2016-01-01 03:37:44 +00:00
drh
2307926ea9
Remove unreachable branches from the new JSON aggregate functions.
...
FossilOrigin-Name: 6e30f8c6c3af9b0df39783888a1479f88271f989
2016-01-01 00:15:59 +00:00
drh
bdfa1b94e9
Fix the ieee754.test module so that it works both on systems that report
...
infinity as "inf" and as "Inf".
FossilOrigin-Name: d41d4d7396fba60895535f21c438f8c75e7b2097
2015-12-31 22:29:36 +00:00
mistachkin
aae280ef8b
In the shell, use utf8_printf() when any string formatting is present and raw_printf() otherwise.
...
FossilOrigin-Name: 8cf01fff232d15d3c7b7b62b2d890d983e1945f2
2015-12-31 19:06:24 +00:00
mistachkin
5905f86b33
Fix harmless compiler warning seen with MSVC.
...
FossilOrigin-Name: 98ec778daac835d9ae103f6460b7d897981a5dd6
2015-12-31 19:04:42 +00:00
dan
811501e237
Fix the fts5 integrity-check code so that it works with detail=none tables.
...
FossilOrigin-Name: 3a1df69e58e5830da1dff158eedbe3817743f58f
2015-12-31 18:39:14 +00:00
dan
841243156f
Fix some problems with fts5 detail=none tables. Some still remain.
...
FossilOrigin-Name: 6a6f7bc40d6b4c8a4a254a9098c9d2f31fde69ca
2015-12-31 17:36:58 +00:00
drh
e6110505c9
Fix harmless compiler warnings associated with SQLITE_ENABLE_HIDDEN_COLUMNS.
...
FossilOrigin-Name: 9c392c1019ee15f27c8e05b41246d2844f91f6c0
2015-12-31 15:34:03 +00:00
drh
e5520e2f06
Small size and performance optimization to the VDBE comparison opcodes.
...
FossilOrigin-Name: 7a0b9413fa94d3f4fa9751ddf9b213a1238954f1
2015-12-31 04:34:26 +00:00
dan
d11e397b2c
Updates to fts5 to support detail=none mode. As of this commit, many cases are still broken.
...
FossilOrigin-Name: ac8f4cf0cede6bcbe47eeefb85d80a27e9278212
2015-12-30 19:58:57 +00:00
drh
13778518e7
Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines,
...
for a small performance increase and library size reduction.
FossilOrigin-Name: 6a4cfc7ab62046eb718ce59eff6b632f239312ac
2015-12-30 18:18:46 +00:00
drh
9906738494
Enhance the command-line shell so that it can handle MBCS characters on
...
input and output.
FossilOrigin-Name: 3d81dfe3bc5ca9588b7796769d9be7a182f38b1c
2015-12-30 17:03:40 +00:00
drh
f19aa5fa6f
Changes to the way that the default BINARY collating sequence is recorded
...
result in a slightly smaller and slightly faster executable. More work could
be done to make this cleaner.
FossilOrigin-Name: 2081d75767dc590b4c8457e5f8e5f18ba5f8eaa7
2015-12-30 16:51:20 +00:00
drh
0472af91ec
Simplification to the xfer-optimization logic.
...
FossilOrigin-Name: f35ba018da843897acca58f70541b940598bc271
2015-12-30 15:18:16 +00:00
drh
31d175dde4
Remove unnecessary tests from the LIKE pattern matcher. Slightly faster and
...
slightly smaller, and it should also now works with EBCDIC.
FossilOrigin-Name: 0a99a8c4facf65ec67d8d86108c9a3f723f7cbd6
2015-12-30 14:06:22 +00:00
drh
e05461cc8e
Enhance the command-line shell to handle MBCS characters on input and output.
...
FossilOrigin-Name: a0a08b8c0bbd4d71955261f6b7e997701ca68e18
2015-12-30 13:36:57 +00:00
drh
ff135ae4c3
Add the json_group_array() and json_group_object() aggregate functions to
...
the JSON1 extension.
FossilOrigin-Name: 7f386a9332237100a345035ca213327e21d95855
2015-12-30 01:07:02 +00:00
dan
9a3a5275cd
Add the xPhraseFirstColumn() and xPhraseNextColumn() API functions to fts5. For iterating through the set of columns that contain intances of a phrase.
...
FossilOrigin-Name: 8c30605bcd0a78a5015948171145bc6f640b8358
2015-12-29 19:35:03 +00:00
dan
9f44deed93
Change the name of the offsets=0 option to "detail=column". Have the xInst, xPhraseFirst and other API functions work by parsing the original text for detail=column tables.
...
FossilOrigin-Name: 228b4d10e38f7d70e1b008c3c9b4a1ae3e32e30d
2015-12-28 19:55:00 +00:00
drh
e1462a762c
Avoid a harmless compiler warning on systems where the byteorder cannot
...
be determined at compile-time.
FossilOrigin-Name: 7c7b7f26306b6aa6ff35b871ad756f43f5db9838
2015-12-24 14:53:27 +00:00
dan
3e6a141130
Fix some harmless gcc compiler warnings. Mostly in fts5, but also two in the core code.
...
FossilOrigin-Name: 5d44d4a6cf5c6b983cbd846d9bc34251df8f4bc5
2015-12-23 16:42:27 +00:00
drh
caeca516a7
Enhance the 'utc' modifier on date/time functions so that if the LHS is
...
already known to be in UTC, the modifier becomes a no-op. This is not an
incompatibility because the behavior is documented as "undefined" in that
scenario.
FossilOrigin-Name: b910a3d53769689d9212a06f974ccce54844bbe4
2015-12-23 10:54:48 +00:00
dan
8f9ced636f
Updates so that fts5 API functions xInst, xPhraseFirst and xPhraseNext work with the offsets=0 option.
...
FossilOrigin-Name: 69bffc1632c8a8f3bfe5bf92607e64fed982e48c
2015-12-22 18:54:16 +00:00
dan
159fd77e0f
Fix an fts5 integrity-check problem that affects offsets=0 tables with prefix indexes.
...
FossilOrigin-Name: 609a0bc7f34e6dae74ce756aff920f3df78fe828
2015-12-21 18:45:09 +00:00
drh
1c75c9d7f1
Ensure that the Expr objects that describe indexed expressions are not modified
...
by code generation. Fix for an assert() problem found by Jon Metzman using AFL.
FossilOrigin-Name: 34073ce87d88a02313217023ae92e15939192cd9
2015-12-21 15:22:13 +00:00
dan
c58b9eeaaa
Fix a problem with prefix queries on fts5 offsets=0 tables.
...
FossilOrigin-Name: ad0987d83c252dd8d6a69321893629d7be805c28
2015-12-18 19:07:14 +00:00
drh
d319b8c143
Micro-optimizations and comment fixes on the mem5.c memory allocator module.
...
FossilOrigin-Name: 8bf5e056eb8beb6e0ed5874fb24d7fe9f0b66d2b
2015-12-18 16:29:47 +00:00
drh
45ac1c70b3
Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines.
...
FossilOrigin-Name: 7850715406458a61cff9eba5ad915f61f6d99482
2015-12-18 03:59:16 +00:00