drh
3e7d012eb1
Make the default value for SQLITE_DEFAULT_SYNCHRONOUS a simple integer
...
literal, so that it does not show up goofy in the output of
"PRAGMA compile_options;".
FossilOrigin-Name: 833ab3212addc340ca8004e8d6a06cc5e51bf256f43dc73d87fbe67518a4891b
2017-03-25 18:03:26 +00:00
drh
2fb79e9b04
Fix two harmless compiler warnings.
...
FossilOrigin-Name: 32be9c3faaafd736da3f49d475dc9279af4e4ba38070b60033d898345080acf0
2017-03-25 12:08:11 +00:00
drh
ba7cce317b
Fix a harmless compiler warning in the JSON1 extension.
...
FossilOrigin-Name: c2c3dd84534bb5ea81c974847b74a166c9cba1545fc749ce625929f303bf22e4
2017-03-24 19:45:05 +00:00
drh
18333efd51
Previous check-in was not correct. This is a better fix for the OP_Once
...
problem of ticket [06796225f59c057cd120f1].
FossilOrigin-Name: 8194dd2814b0b3f8cffbcb16306f55aabf1c1508b9d27fa806f92f0e6ecd7631
2017-03-24 18:38:41 +00:00
drh
ab087d4e67
Fix the OP_Once opcode so that it works correctly for recursive triggers.
...
Ticket [06796225f59c057cd120f1].
FossilOrigin-Name: 2556014514f36808e6d18b25722eae0daeeb8fbb5d18af13a9698ea6c6db1679
2017-03-24 17:59:56 +00:00
drh
f9e91972c9
Add the RFC-7396 Appendix A test cases for json_patch().
...
FossilOrigin-Name: c5441d2df2526723f72610cc14dd243223663979e67ecdd76fe06fcd366f2b29
2017-03-24 13:31:47 +00:00
drh
29c9969871
Fix an error in the new json_patch() routine discovered by Ralf Junker.
...
FossilOrigin-Name: 9d5350418b2f6113e0b50c57e8a872006f27753067baf08ffdfa7943c0c9a148
2017-03-24 12:35:17 +00:00
drh
adc117d40e
Add the json_patch() SQL function to the JSON1 extension.
...
FossilOrigin-Name: 476088482024e411e2549b1697cdaf0124294c79d43f508c71c4eb66906a56fc
2017-03-23 23:44:55 +00:00
drh
37f03dfb1f
Change the name of the json_merge_patch() function to just json_patch().
...
FossilOrigin-Name: 04d4100445a3373986ee962618bc03ec304f6ba2f867c8e9eee415daffb593fc
2017-03-23 20:33:49 +00:00
drh
db528529bf
Improvement to the amalgamation configure.ac file contributed by
...
Bob Friesenhahn.
FossilOrigin-Name: bf28a55d8185e370fea39de297c37387f852f43fac0a316e5900e633f99b367f
2017-03-23 19:51:38 +00:00
dan
8fe3e9d882
Do not run test file autoanalyze1.test if OMIT_VIRTUALTABLE is defined.
...
FossilOrigin-Name: e1d06a573ee56bf6a14e4dc8086d6a4df1464f2914834cf4596a0a406688f608
2017-03-23 17:22:09 +00:00
dan
a77edc69ee
Remove an invalid assert() statement failing when VACUUMing a database that
...
contains an index on a column explicitly declared "COLLATE BINARY".
FossilOrigin-Name: 9f2e04d3c3526b5ff60d941aa6d5446f602cab37cb93972937f39eefabd6868d
2017-03-23 17:03:35 +00:00
drh
1fe162fd0c
Avoid redundant edits in the json_merge_patch() function.
...
FossilOrigin-Name: 4a8e6437dd610c5376a07867a73e5a7e2ea90357a018e1788ecce6f4e10bc939
2017-03-23 12:56:44 +00:00
drh
0002d246a9
Fix harmless compiler warnings in the new json_merge_patch() logic.
...
FossilOrigin-Name: 5d2cf5a2f8afd88d041d89b3936042ce5a43629d23c48738cb2791b24da3e6af
2017-03-23 00:46:15 +00:00
drh
bb7aa2d85e
Various fixes to the json_merge_patch() function.
...
FossilOrigin-Name: f49fd2554b0723eb7cf2fd765d655c6820833ee7e5f7d7629d98c27a6fffa1d9
2017-03-23 00:13:52 +00:00
drh
f07b249f92
Change the name of the new function to "json_merge_patch()".
...
FossilOrigin-Name: 53bf70f37bbca319ea35f70849e2a34ae628a504486158fdad5c4bb7431c68e0
2017-03-22 21:45:20 +00:00
drh
633647af75
Initial implementation of the json_mergepatch(A,B) SQL function.
...
FossilOrigin-Name: a267444039af519f088dd8f8ee33f686cc3071c087677075af2364ebc2587514
2017-03-22 21:24:31 +00:00
drh
701ff6ad2d
Fix harmless compiler warnings in the shell.
...
FossilOrigin-Name: a786829783ef65ef270ca360712364cbd47a540d31ed1547d50808aad698bea7
2017-03-22 12:51:34 +00:00
drh
918938f9c2
New simplified memory initialization for MacOS.
...
FossilOrigin-Name: 055b36f1c1593bb123f7319a07c476143d71af052b5b8d34afcd0d500f197882
2017-03-21 20:17:24 +00:00
drh
49297c86d2
Fix an incorrect assert in the ANALYZE logic for STAT4 on WITHOUT ROWID
...
tables.
FossilOrigin-Name: ad741976c8c29bcc94f9ea9ed7deb580bb00c8a81d1a7fba1a4e03849728433d
2017-03-21 18:56:52 +00:00
dan
119fc11eb0
Add short script ext/fts3/tool/fts3cov.sh. To help measure test-coverage of
...
fts3 source code.
FossilOrigin-Name: ee9588e873ffebcaa177957950cbb14924e154c391ed7f687116065064ff11b0
2017-03-21 17:19:31 +00:00
dan
a14b7e02e9
Do not run sync2.test as part of the "inmemory_journal" permutation.
...
FossilOrigin-Name: 9f680bc7c47f8391adba6ea2b4b2cb6a5a041e22753543d5224da6656c3762fe
2017-03-21 10:45:38 +00:00
drh
174f855306
Add the --native-malloc option to fuzzcheck. Fix ossfuzz.c and fuzzcheck.c
...
so that they both deallocate the temp_store_directory before closing.
FossilOrigin-Name: 0dd18ec882bb28a87629d6d8dfeb5ea5d82833634b3781a7d14b917272c4dfa0
2017-03-20 22:58:27 +00:00
drh
16f0582c1b
Fix the fuzzcheck program so that it can create new databases again.
...
FossilOrigin-Name: 021e8874a7d1bb94debae3ae04f83056a8573148ffc872cd76a186a2d22d0296
2017-03-20 20:42:21 +00:00
dan
74869e5e52
Avoid passing NULL as the second argument to memcpy() in fts3.
...
FossilOrigin-Name: 49b93d972de9649abfd6235b65dda1c9d468956671e50704afde6181ffa56dea
2017-03-20 19:35:30 +00:00
dan
6b904f5e01
Avoid a technically undefined right-shift of a signed value in rtree.c.
...
FossilOrigin-Name: a144875fe44ff3a30bab299d50b7dbec2ee21f8c73e692a71ee1f7c54b5f0c76
2017-03-20 19:26:27 +00:00
dan
920c83f18f
Fix some problems in fts3 found by address-sanitizer.
...
FossilOrigin-Name: 16a8e84fa7f67a467f824bdd7f72cbd6a6e95dab8cc7aa1e0e751720b98f3e31
2017-03-20 18:53:32 +00:00
drh
5f42995a0a
Avoid the possibility of signed integer overflow with oversized precisions
...
in %d conversions in the printf() implementation.
FossilOrigin-Name: ef3a7c877a7549b351aafd983cfa96c863eb2641b6218bdd5cb563f659f879d8
2017-03-20 16:34:18 +00:00
dan
5b3a3b359a
Do not run sync2.test as part of the "journaltest" permutation, as it uses
...
"PRAGMA synchronous = off".
FossilOrigin-Name: 285005a9bcb210bb2a9aa9fed6a19d4b78641a6e7622d469bd0d2a365b2c0735
2017-03-20 16:06:48 +00:00
drh
7adbcffcb9
Ensure that a "--" prefix is added to sqlite3_trace_v2() output for nested
...
SQL statements.
FossilOrigin-Name: 673a7b67c4828acaea3baebea500ef1f8ae763588b0d9c9f2ad6ed5ceb3cfee2
2017-03-20 15:29:28 +00:00
dan
154cc74601
Only run sync2.test on unix, as it depends on instrumentation in os_unix.c.
...
FossilOrigin-Name: ecb9321e18dd72ea18d197c61c4d69500e9c4282c0eac67822cb40b2710a2815
2017-03-20 15:11:40 +00:00
drh
978896e0eb
Fix the check.test script so that it works on Windows.
...
FossilOrigin-Name: 8822eb5d790bf8d4302c3f2dc05ab672193b309fb11771c4b3eea8a77f37e299
2017-03-20 14:44:07 +00:00
drh
d3d52ef147
Documentation fix: SQLITE_SOURCE_ID is a now a SHA3-256 hash.
...
FossilOrigin-Name: 2aa22509e7c8a1f09b16e4544c95d0b77503daed1f83106ccc18dee8bd9487a4
2017-03-20 13:03:39 +00:00
drh
a80e160634
Only do the specialized MacOS single-core zone_malloc initialization if
...
compiled with the SQLITE_MIGHT_BE_SINGLE_CORE flag. This avoids a (harmless)
warning about OSAtomicCompareAndSwapPtrBarrier() being deprecated.
FossilOrigin-Name: 4e6a03d9e12b120d15946b025f97a97697cb8e8af543c238ffda220c9e3f28f4
2017-03-18 13:59:46 +00:00
drh
46acfc2b47
Fix an error in the newly revised documentation for SQLITE_LIMIT_VDBE_OP.
...
No changes to code.
FossilOrigin-Name: f4cf8635e6fec6f04075cc067aaa71abc4f71739068e0ad2c44609dcb8691009
2017-03-17 23:08:11 +00:00
drh
544cab7651
Set a reasonable limit on the number of opcodes in a prepared statement
...
for ossfuzz.c. This should prevent timeouts in OSS-Fuzz when it generates
totally unreasonable queries.
FossilOrigin-Name: f74899ed2c78019abb406432a74dcd42a0ff8d9add005f8544dc4a8905f232eb
2017-03-17 22:51:28 +00:00
drh
1cb0266dcb
Begin enforcing the SQLITE_LIMIT_VDBE_OP. The documentation warned that this
...
day might come.
FossilOrigin-Name: ef5914617088cbf89bfae88f63ea959a07f02dff387ddc2b43948ad99c6a97b8
2017-03-17 22:50:16 +00:00
drh
f53524b4f7
Add the --show-errors and --show-max-delay command-line options to the
...
ossshell test program.
FossilOrigin-Name: 626bdca98e0cd78ae873d97e75bb7d544ca18759c9f1e67f4adf03daca7fe5bf
2017-03-17 14:59:40 +00:00
drh
59d705ab80
Fix the Makefile.in so that it builds the ossshell test program correctly.
...
FossilOrigin-Name: 36f5602ec9fb8e404c5250e18b1db877ac7bee643918b94afd51808134ea7900
2017-03-17 14:15:06 +00:00
dan
1f9144ed41
Fix a buffer overread in debugging routine sqlite3VdbeMemPrettyPrint().
...
Problem discovered by OSS-Fuzz.
FossilOrigin-Name: f336fba7d7d41b91a5000d01dddf785821fa79ea31dbd8d1f769d55f7e871896
2017-03-17 13:59:06 +00:00
drh
a3b2da9889
Fix a problem in the enhanced PRAGMA integrity_check where it verifies
...
CHECK constraints: Do not be confused by the reuse of the Table.pCheck field
by VIEWs with named columns. Problem discovered by OSS-Fuzz.
FossilOrigin-Name: 019dd3d5ba4a596c4ec3b5f0de8402c72196af0faca9138edbc0f1f4957cae60
2017-03-17 03:21:14 +00:00
dan
af3332989f
If the user has not set it explicitly, set the "PRAGMA synchronous" setting to
...
SQLITE_DEFAULT_SYNCHRONOUS when a database connection changes from wal to
rollback journal mode.
FossilOrigin-Name: 5c604479fda06714500959e121c719d1b6c8e54d1658eb9f560a4af95b7c5829
2017-03-16 18:55:21 +00:00
dan
fc8f4b658c
Fix a typo causing the build to fail if SQLITE_DEFAULT_SYNCHRONOUS==SQLITE_DEFAULT_WAL_SYNCHRONOUS.
...
FossilOrigin-Name: df39adeaa4d73a3d4ec831843b8ec7fd449f8b2137bdc7d7c320958d00e98db6
2017-03-16 18:54:42 +00:00
dan
f5da7dbb07
If the user has not set it explicitly, set the "PRAGMA synchronous" setting to
...
SQLITE_DEFAULT_SYNCHRONOUS when a database connection changes from wal to
rollback journal mode.
FossilOrigin-Name: 78030c0f52aa39fb2ab32c75c56e6bcefe6382b8df28b1909e3c911e42dbeca3
2017-03-16 18:14:39 +00:00
drh
b30574bcae
Simplified OOM detection in the instr() SQL function.
...
FossilOrigin-Name: 6d85eb5736781b43aa674d9544c7523b849b4e634f371702f8764b33e22e1e9f
2017-03-16 14:28:52 +00:00
drh
85c2dc0ae6
Fix an uninitialized variable reference in the text generator
...
for "PRAGMA vdbe_trace=ON" output.
Problem discovered by OSS-Fuzz.
FossilOrigin-Name: e3d487162d1596ce125644f754ed9531ef4412f31f6837c3e31b7542b90602fe
2017-03-16 13:30:58 +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
dan
116b56a2cc
Fix a crash that could follow an OOM condition in the instr() SQL function.
...
FossilOrigin-Name: 6e59e903e4e956617bddef0b94e5cae02d724ac8145940b57ab5b0f628759736
2017-03-16 12:11:07 +00:00
drh
6f25936c9c
Updates to README files under the ext/ hierarchy. No changes to code.
...
FossilOrigin-Name: 029bc5d224bcbdcca2307710539b133c39e2a27b971c28b294a1f517b80cb418
2017-03-15 20:27:46 +00:00
drh
6295ff1d3e
Add the "Obtaining The Code" subsection in the top-level README.md file.
...
No changes to code.
FossilOrigin-Name: b1b1aa8b69aa80c83aec3380565f0b4ec0b6a6e033537becee098872da362e9a
2017-03-15 19:11:29 +00:00