Commit Graph

13862 Commits

Author SHA1 Message Date
drh 2139d252dd Fix incorrect column names in UPDATE statements generated by the sqldiff
utility.

FossilOrigin-Name: ee53b46011852e27db23708387fe1e918cc8284c
2015-04-09 19:39:54 +00:00
drh a37591cdd1 Add the --primarykey option to the sqldiff tool, which causes it to use the
schema-defined PRIMARY KEY.

FossilOrigin-Name: 5063f9070afde9374ea0f2bc338fee840d8b3dd4
2015-04-09 18:14:03 +00:00
drh 3875becf35 Remove two pointless assert() statements. This should silence harmless
compiler warnings reported at 
[https://bugzilla.mozilla.org/show_bug.cgi?id=1152845]

FossilOrigin-Name: 83b342a44ffc9ea07dc4d59f2866cefc68ee4f13
2015-04-09 16:30:56 +00:00
drh 39b355c70f Fix comment typos in the sqldiff.c utility program.
FossilOrigin-Name: 32ab2bb990746a84f5944e3cf428fb2dff3628da
2015-04-09 13:40:18 +00:00
drh d62c0f4c2d Add the "sqldiff" utility program.
FossilOrigin-Name: 88da5bf5d2c4f848dbd4b5ffb1539abfbbdaff18
2015-04-09 13:34:29 +00:00
drh 50c7bb67f0 Remove a variable initializion to silence a harmless compiler warning.
FossilOrigin-Name: 79861adbef8998c0f23e160543af8212d5546cd0
2015-04-09 11:24:03 +00:00
drh 57d0d9f33c Merge all changes for version 3.8.9 into the ota-update branch.
FossilOrigin-Name: ec9d907a57fcea72c8a64e521e8a1b5777d67568
2015-04-08 14:01:07 +00:00
drh 5efbd06ab3 Version 3.8.9
FossilOrigin-Name: 8a8ffc862e96f57aa698f93de10dee28e69f6e09
2015-04-08 12:16:33 +00:00
mistachkin d4411941e2 Merge updates from trunk.
FossilOrigin-Name: c458db41bbb6bd13d47531685e25a09f512c7f5f
2015-04-07 21:18:17 +00:00
mistachkin cc445402c9 Correct typo in new test numbering.
FossilOrigin-Name: d176c9fa4c65ff2f3952dd3dee46da149dfa442f
2015-04-07 21:17:53 +00:00
mistachkin 151c75ad89 Enhance the shell export to support emitting column names in 'insert' mode when headers are enabled.
FossilOrigin-Name: 6e504cd00b148b5acca73f039a20b8acc85dc2f0
2015-04-07 21:16:40 +00:00
drh b6f47deb0c Avoid signed integer overflow when converting oversized in-line integer
widths and precisions in printf().

FossilOrigin-Name: 8e4ac2ce24415926247961b00a62425ae85d6ffb
2015-04-07 15:39:29 +00:00
dan 8c069147ce Another change to avoid a problem caused by integer overflow in the printf() code.
FossilOrigin-Name: 95625ef3adc3c408d67e70f877f390445fbb8292
2015-04-07 14:38:57 +00:00
drh a30d22a7a6 Further changes to guard against integer overflow in the width and precision
of printf() arguments.

FossilOrigin-Name: 5ce4e7d7651e5c72a59f03f7aeb366291e62ab57
2015-04-07 13:28:41 +00:00
drh 74b42275ec Guard against excessive width and precision in floating-point conversions
in the printf routines.

FossilOrigin-Name: c494171f77dc2e5e04cb6d865e688448f04e5920
2015-04-07 12:41:17 +00:00
dan e3cdbad274 Fix a problem with fts3 prefix terms within phrase queries on "order=DESC" tables with a mix of negative and positive rowids.
FossilOrigin-Name: 3ad829e50faca538db3abb2afb898b5521550c5c
2015-04-06 11:04:51 +00:00
dan 4b0000c9a8 Fix a problem with fts3 prefix terms within phrase queries on "order=DESC" tables with a mix of negative and positive rowids.
FossilOrigin-Name: 0cdf502885ea7e5805d7ba3719f055f5d48fc78d
2015-04-06 09:05:29 +00:00
dan cf860700e5 Fix a problem with resolving ORDER BY clauses that feature COLLATE clauses attached to compound SELECT statements.
FossilOrigin-Name: edc1de2a588fd50c0049bb2be76d3f6783443165
2015-04-04 16:49:04 +00:00
dan b33c50f215 Fix a problem with resolving ORDER BY clauses that feature COLLATE clauses attached to compound SELECT statements.
FossilOrigin-Name: 427b50fba7362e5b447e79d39050f25ed2ef10af
2015-04-04 16:43:16 +00:00
mistachkin 00eb70d89c Enhance the 'releasetest.tcl' tool to support MSVC.
FossilOrigin-Name: f664bfdc82597a4530d4f4938bb96557b43b171b
2015-04-04 00:02:07 +00:00
drh 62ca61ee61 Disable the SQLITE_FCNTL_WAL_BLOCK feature for now. It needs more work and
is not yet ready for release.

FossilOrigin-Name: 4ae9a3acc4eeeb7998769eb856c97c2233476f72
2015-04-03 20:33:33 +00:00
drh eaf2640237 Add source code to the "showlocks" utility program in the tool/ subdirectory.
FossilOrigin-Name: 6868cc66d2be67b7f03776c982962ffa4b30de11
2015-04-03 18:33:40 +00:00
mistachkin 34cf258302 Fix build with OSTRACE enabled on Windows when building using separate source files.
FossilOrigin-Name: 5f6e35802fcf7b5e9fc3dd4424e9074523fa8ad3
2015-04-02 17:46:52 +00:00
dan 5f1731f670 Disable e_walauto.test on OpenBSD, as it requires a coherent cache.
FossilOrigin-Name: 90701227085b8b8eb10a8eebe8d55f38b4778574
2015-04-02 15:24:53 +00:00
dan 29f1a19cd9 Fix a problem in vdbesort.c to do with caching unpacked records.
FossilOrigin-Name: 80a00539506c95443165a781d1d869205057ca6c
2015-04-02 09:06:21 +00:00
dan 49e24da9e7 Merge latest trunk changes with this branch.
FossilOrigin-Name: 4621b2eef8be6d944f87de097bd11c649fe43333
2015-04-01 18:22:26 +00:00
dan e34162b14f When vacuuming an index that uses no collations other than BINARY, assume that the order of index entries will not be changed by the VACUUM.
FossilOrigin-Name: e403460b96814ac8cb976d58b27939b3bd3c61f9
2015-04-01 18:20:25 +00:00
dan b18e60b3e4 Reduce the CPU used by CREATE INDEX statements by taking better advantage of the fact that keys are inserted in sorted order.
FossilOrigin-Name: 592cdc5d7254be7032aa9c0b03405a74ca060b51
2015-04-01 16:18:00 +00:00
drh ccf46d0b90 Improved detection and suppression of endless loops in clearDatabasePage().
FossilOrigin-Name: 30011ad2f55cfcacaf23a58ebcc17b17a7b9355e
2015-04-01 13:21:33 +00:00
drh f50e8aec77 Improved tracing and debugging support on windows.
FossilOrigin-Name: 5c965a71b957fdb0310ac1af9bf2fc3b418af668
2015-04-01 01:26:12 +00:00
drh f9d02f3663 On windows, flush the mapping view when syncing content to disk.
FossilOrigin-Name: a828e73dc1ae50189bdf73f60caeb7308738ad7a
2015-03-31 19:40:05 +00:00
mistachkin 98f1c4086d Set the winShm.id member when it is going to be traced.
FossilOrigin-Name: fa7916b67efbc44e6f115bb0d32d8b92fd0acf3c
2015-03-31 19:17:44 +00:00
mistachkin d25675f897 Build fixes for OSTRACE enhancements.
FossilOrigin-Name: f79c236fc537ecee1ea7448a3e3216a2415561a1
2015-03-31 19:06:46 +00:00
drh 2c32ed7a58 Path portability enhancements for mptester.exe.
FossilOrigin-Name: c8694657bdc5d0917d8fe78fd3937d8e9cd9d04b
2015-03-31 18:18:53 +00:00
drh 4c45196a76 Add the "mptest" target to main.mk. Change TRUNCATE and PERSIST to DELETE
for mptest.c on Windows because of problems trying to delete the journal.

FossilOrigin-Name: ea697e6d9ff1f4d77774589a02ba4a18feafbf03
2015-03-31 18:05:49 +00:00
mistachkin 25a72de917 Path handling portability enhancements for mptester.
FossilOrigin-Name: da49634b331812fa4d6e33d72c9661aeab203ae8
2015-03-31 17:58:13 +00:00
mistachkin eb48b062a1 Testing enhancements on Windows.
FossilOrigin-Name: 9cc70eee2e365dd390210f436b893b9d80a19b04
2015-03-31 17:45:44 +00:00
drh 8237f6d180 Change the sqlite3_log() message generated on a retry after delay in os_win
to be an SQLITE_NOTICE instead of SQLITE_IOERR.

FossilOrigin-Name: 5d533eee049e63b3700f5ef7c28c588afccde57a
2015-03-31 17:32:06 +00:00
drh d881ce8fa7 Fix configure.ac and Makefile.in so that they generate pkgIndex.tcl correctly.
FossilOrigin-Name: 3deff25249c59b7fc1b6eb65dda39736955679c6
2015-03-31 17:01:52 +00:00
mistachkin 4d2daba467 Minor tweaks to the MSVC Makefile.
FossilOrigin-Name: 7244ea59ede8aa2c7d1dc2c85268e12ddd452e27
2015-03-31 16:42:16 +00:00
drh 6b5f0ebe97 Handle very large URI pathnames for in-memory shared-cache databases.
FossilOrigin-Name: 586a94e85bc13700a2093734711c1367fa814b8c
2015-03-31 16:33:08 +00:00
drh 1cc0d11a16 Fix harmless compiler warnings in lemon.c
FossilOrigin-Name: bbe7dcda689a25860f2104804f00ba0a720c1372
2015-03-31 15:15:48 +00:00
drh 96e285692a Fix the corruptJ.test case so that it works with and without
SQLITE_SECURE_DELETE.

FossilOrigin-Name: 0c0ecfd68573957553b966229a67bfcd10ce4b99
2015-03-31 14:31:41 +00:00
drh 8773b858e1 Additional logging information output by mptester.
FossilOrigin-Name: 0cbbf6e4571ffef102c0e515f29166f2f2022126
2015-03-31 14:18:29 +00:00
drh fe0ba71112 Add the "mptest" target to Makefile.msc
FossilOrigin-Name: 1e814e0bd116ad5a05ab9f0ebed7e21b23ed0681
2015-03-31 13:46:13 +00:00
drh bc8a6b31b6 Ensure that comparison operators do not mess up the MEM_Dyn flag on registers
when reverting affinity changes.

FossilOrigin-Name: 02e3c88fbf6abdcf3975fb0fb71972b0ab30da30
2015-03-31 11:42:23 +00:00
drh 116f0be024 Prevent a possible infinite loop when trying to DROP a table from
a corrupt database.

FossilOrigin-Name: 395bb3e677a6551b06ba96fc58c393132b93d1e8
2015-03-30 23:43:56 +00:00
dan 7004f3f6a3 Improve performance of multi-field sorts where the first field has a low cardinality.
FossilOrigin-Name: 601e7b6b8e6bfabda03b70f75094c9014e3a3c49
2015-03-30 12:06:26 +00:00
dan d2e1191929 Remove some unnecessary code from vdbesort.c.
FossilOrigin-Name: b58191e91736b1d978db4127f22867dfe2302f7c
2015-03-30 09:58:38 +00:00
dan a9d9111c4a Further optimizations for sorting records that begin with integer or text values.
FossilOrigin-Name: 24fe9f25d64ee516633fed1ae7ebc21554aa69ca
2015-03-28 19:56:41 +00:00