drh
a4bb7764fe
Fix a boundry-value condition in the phrase poslist extractor of FTS3/4.
...
FossilOrigin-Name: 55d10baf0bffdb1a34bf5627ed8f25e4a4efd942
2015-04-16 20:10:17 +00:00
drh
ab4e7f3337
Make sure all cursors are closed when returning from a VDBE subprogram that
...
implements a foreign-key construct.
FossilOrigin-Name: d04d354d8e423961c3091b6ebcfbbbf10d3ecb04
2015-04-16 18:11:50 +00:00
drh
6dc4148547
Fix the VDBE so that it always uses the original opcode for profiling and
...
debugging even after the pOp pointer has been updated due to a jump.
FossilOrigin-Name: 647495cf12b656f6a2f028dc1fb459d667153cf2
2015-04-16 17:31:02 +00:00
mistachkin
b10f22a141
Restore SQLITE_FORCE_OS_TRACE to the MSVC makefile, which was removed during a merge.
...
FossilOrigin-Name: c37f4d492f98ac5c07c08705a3826a3e86107306
2015-04-16 16:27:29 +00:00
drh
a276e3fd4d
Fix a faulty assert() in the compound-SELECT code generator.
...
FossilOrigin-Name: 10715b05f2201a63dca317f99ce39d3ce182e182
2015-04-16 16:22:27 +00:00
drh
59ac655d02
Silently ignore requests to change the PRAGMA synchronous setting to an
...
illegal integer value, rather than raising an assertion.
FossilOrigin-Name: e0a88176fcfbed7b554a036948261a332c920053
2015-04-16 16:04:39 +00:00
drh
e06874eaa1
Make sure errors in coding triggers are propagated back up to the parser.
...
FossilOrigin-Name: 928f973ca9adc7933015b2fb6b6fcb8e3154cb9c
2015-04-16 15:47:06 +00:00
drh
9569f60e18
Add the --backslash option to the command-line shell for testing purposes.
...
FossilOrigin-Name: dd96211e8022365637286b146120cc5db44a9923
2015-04-16 15:05:04 +00:00
drh
6736618a8f
Fix a faulty assert() in the compound select code generator.
...
FossilOrigin-Name: 9d336be1b16aa9bd5c9e4132bb645874993c7d96
2015-04-16 14:33:35 +00:00
drh
772460fd4c
Improvements to the way VALUES clauses are parsed.
...
FossilOrigin-Name: ec5a493ad27593ca78899b3001630c1898b940ff
2015-04-16 14:13:12 +00:00
drh
b073771cdf
Fix the corruptC.test module due to a change in error message text.
...
FossilOrigin-Name: 7c0deed25762a954c78d98412d8f4a265a437d06
2015-04-16 12:12:07 +00:00
drh
67731a97a2
Use a heap instead of a bitmap for cell overlap and coverage testing of
...
btree pages in PRAGMA integrity_check.
FossilOrigin-Name: 5619c959bf7babb19fd8ba8b228be7f090fe0ce3
2015-04-16 11:56:03 +00:00
dan
0d2e2f2b10
Fix a problem in test file e_reindex.test.
...
FossilOrigin-Name: 5b3de9390f2ffc4c530fd47c71c70e87972cf74b
2015-04-16 08:54:01 +00:00
dan
5b1c07e7fb
Ensure the sqlite3Select() routine always returns non-zero if an error has occurred.
...
FossilOrigin-Name: b51028ed2f57f4245a7ebd9bdb99d1bcfaf1a01b
2015-04-16 07:19:23 +00:00
mistachkin
0cbcffa75d
Move OSTRACE defines so they are visible to all source files that need them.
...
FossilOrigin-Name: 72485c97c6de47b8bba63b2a307e7bdeea114040
2015-04-16 03:56:32 +00:00
mistachkin
02b0e267fb
Make sure the sqlite3DebugPrintf() function is defined for OSTRACE as well.
...
FossilOrigin-Name: ae5af70427e0df960a54c48cd27a6288500b1f31
2015-04-16 03:37:19 +00:00
mistachkin
fb383e9229
Merge updates from trunk. Make OSTRACE changes work on Linux.
...
FossilOrigin-Name: cd1542664eb3eb46d486664ded49cd9c4bef3948
2015-04-16 03:24:38 +00:00
drh
22ecef5c20
When parsing the schema, ignore any SQL that does not begin with "CREATE".
...
FossilOrigin-Name: d3c00d61581c8ba6dce5618391432d3af8d324d4
2015-04-16 00:26:03 +00:00
drh
4b608038b0
Fix a potential one-byte buffer overread in the command-line shell.
...
FossilOrigin-Name: e018f4bf1f27f7838342940ad89a12d7f1536e8e
2015-04-15 19:25:25 +00:00
drh
f3392e32c7
Prevent the fetchPayload() routine from reporting a cell size that extends
...
off the end of the page on a pathologically corrupted database file.
FossilOrigin-Name: f71053cf658b3260a32ac06f8ba5c2cde0ea54dd
2015-04-15 17:26:55 +00:00
drh
748c7357ab
Enhance the showdb utility program so that it can read the last partial page
...
of a truncated database file.
FossilOrigin-Name: 61d72e17916bc043ce53c64e5ba7050a9bae554e
2015-04-15 15:29:05 +00:00
drh
a9de561b21
Add the --msvc command-line option to the releasetest.tcl script. This is
...
only a partial merge from the winTest branch as the OS_TRACE changes are
omitted.
FossilOrigin-Name: b8768f124ef7d79e500b60a3ede288d46a0f529d
2015-04-15 14:52:05 +00:00
dan
0d01ec8de8
Remove an incorrect assert() statement from sqlite3Fts3Dequote().
...
FossilOrigin-Name: bd06eeb8d06237dc2d54d8a03e8bf525cb811c9e
2015-04-15 09:16:39 +00:00
drh
0be0cf6721
Remove a branch that became unreachable due to one of the earlier check-ins
...
today.
FossilOrigin-Name: fa0956edf866f48f448967836709a3ad822ff917
2015-04-15 08:37:42 +00:00
dan
2deb12be2b
Fix a problem causing an assert() to fail if a snippet containing 0 tokens was requested from fts3.
...
FossilOrigin-Name: eafd0a1e3f25f38d551603f177ff4634cf79de77
2015-04-15 08:20:50 +00:00
drh
347bdc39a7
Fix the error message generator for illegal token errors so that it does not
...
leak memory if it immediately follows another erroneous SQL statement.
FossilOrigin-Name: 3576973f8b88b6109fbefdebfa53468ffa137009
2015-04-15 07:57:27 +00:00
drh
29031837c1
Remove an incorrect ALWAYS() from the automatic index generator.
...
FossilOrigin-Name: eeb4bd06bf69e411736cc6077d1d64af6bd8fb09
2015-04-15 07:34:25 +00:00
drh
1b6789697d
Remove an incorrect ALWAYS() from the table_info pragma.
...
FossilOrigin-Name: 0e087c0183bc7a758cf2a1d39158bc24fde833a2
2015-04-15 07:19:27 +00:00
drh
3dc4cc66b3
Change the multiSelectOrderBy() routine to return non-zero if there has
...
been any prior error.
FossilOrigin-Name: 14784c317bff05dd0a74e2596432dfd12c139391
2015-04-15 07:10:25 +00:00
drh
a43f02efc6
Fix a faulty assert() statement in the name resolver associated with the
...
optimization that converts compound selects with ORDER BY COLLATE into
subqueries.
FossilOrigin-Name: c72324ef9243946550ae3d974826502b1cc5eb10
2015-04-15 06:45:13 +00:00
drh
6456b7710c
Correctly handle COLLATE operators applied to COLLATE operators in an
...
ORDER BY clause.
FossilOrigin-Name: 9e1f837b08facbc7a2b6196770599a58233e725c
2015-04-15 05:57:50 +00:00
drh
3457338ced
Fix a faulty assert() in the sqlite3StrAccumAppend() routine.
...
FossilOrigin-Name: 998cfdb8dcda2cac94b83326751e16dcef8b267f
2015-04-15 05:38:35 +00:00
drh
65df68e8c5
Correctly deal with an unknown collating sequence on an indexed DISTINCT query.
...
FossilOrigin-Name: a0b6e2fed3e95cf78ed0515c6e4da7510af4e86a
2015-04-15 05:31:02 +00:00
drh
1978d171cb
When adding the implied "LIMIT 1" to the end of a scalar subquery, make sure
...
that subquery is not a VALUES-only query as such queries cannot deal with
LIMIT clauses.
FossilOrigin-Name: 7c27310bdf6b4af44a0811a2787ed64966d720d2
2015-04-15 05:20:44 +00:00
drh
0ec68f845c
When doing the (dubious) conversion of double-quoted identifier into string
...
literal for MySQL compatibility, be sure to also clear the iTable value from
the Expr entry to avoid an assert.
FossilOrigin-Name: d7211b68107ea669de39e0aa81a1be40901e1487
2015-04-15 04:51:28 +00:00
drh
311efc70a7
Add a test case for what was formerly thought to be an unreachable condition:
...
when the LHS of an OR operator contains an error and the RHS contains an IN
operator.
FossilOrigin-Name: 3872742591add4e94033484c2844e7d7ab69674b
2015-04-15 04:20:58 +00:00
drh
126a6e260c
An oversize hex literal can cause a parsing error while generating code for
...
constants that are factored out of the main body of the VDBE program. So
allow for that case.
FossilOrigin-Name: a084690b4fcabba20d9770ebf3a014dda84e2954
2015-04-15 04:10:50 +00:00
drh
8a1cd765df
Add the --summary option to the sqldiff command-line tool.
...
FossilOrigin-Name: 88b22761c59b06fa86c57f8d22a46046ad17d5d5
2015-04-14 19:01:08 +00:00
drh
d9a0a9a0c6
Update API documentation to identify many functions as methods on objects.
...
No changes to code.
FossilOrigin-Name: b549cbcee1c11f9ffedf763ca672b125eac87bfe
2015-04-14 15:14:06 +00:00
drh
6bca651166
Add #ifdef magic for HAVE_GETHOSTUUID so that the build will hopefully now
...
work on more verions of MacOS with SQLITE_ENABLE_LOCKING_STYLE turned on.
FossilOrigin-Name: 211411d02c0729c9af0e3cc7e4910db2e7e0d08e
2015-04-13 23:05:28 +00:00
drh
2647dfa292
On a DETACH statement, keep all schemas intact except fo the one that is
...
being detached, and thus avoid unnecessary schema reparsing.
FossilOrigin-Name: 661db19b34566642dd44ee4cff4ebc093cb8a552
2015-04-13 22:26:55 +00:00
drh
f56fa4676e
Omit the "pc" or "program counter" variable from the VDBE loop for 0.6%
...
performance increase.
FossilOrigin-Name: d2f10c41a832f520de13cf8315be22e66552f8e1
2015-04-13 21:39:54 +00:00
drh
27a348c7a0
Remove the out2-prerelease VDBE opcode property and its associated code,
...
for a 0.5% performance improvement.
FossilOrigin-Name: e29c7f2c910dac07f0f92dfef5e0e743141954eb
2015-04-13 19:14:06 +00:00
dan
1fe0af200d
Add a comment to wal.c to explain why a race condition is safe.
...
FossilOrigin-Name: bc33af866403c23d548dd4705675315810d52d7f
2015-04-13 17:43:43 +00:00
drh
c01501a386
Remove a faulty assert() from the btree balancing logic.
...
FossilOrigin-Name: d06669d968c8f6af8799fbfeabadaab68b9b8db8
2015-04-13 14:44:01 +00:00
dan
481ecd95d0
Test that if the definition of a collation sequence is changed and VACUUM run, the new database contains records sorted in the (new) correct order.
...
FossilOrigin-Name: ce6eaac10a190b26b87bfe75918e2ef58fd7a3f9
2015-04-13 14:08:27 +00:00
drh
ab06b0e5be
Remove an unreachable branch from the VACUUM logic.
...
FossilOrigin-Name: 65ace4b062d9454a296c5a1aa7ea7316b1507ad4
2015-04-13 14:03:54 +00:00
drh
4a614e9013
Remove an unreachable branch from the vdbeSorterCompareInt() routine.
...
FossilOrigin-Name: f666ef06869f4fb655c43daacf5034c17575d951
2015-04-13 12:45:58 +00:00
drh
9dc225ef1c
Update the version number to 3.8.10 because of the new sort optimizations from check-in [79326d6eec].
...
FossilOrigin-Name: bd2cfa1d72368db91064bace298df3d77d9963e6
2015-04-12 21:28:50 +00:00
drh
f932f7145e
Fix a problem with a stale Select.pWith pointer when a CTE is used together
...
with a compound query and an ORDER BY clause.
FossilOrigin-Name: 9a453f52a2b30595891604ede7d4acf61c2736a1
2015-04-12 17:35:27 +00:00
drh
11b0481778
Avoid problems when a query has a GROUP BY and an ORDER BY but no FROM clause.
...
FossilOrigin-Name: e527d96a1e098ade4e9d124b630a8c2ea2ac9b36
2015-04-12 01:22:04 +00:00
dan
ead438156e
Optimizations for VACUUM, CREATE INDEX and some cases of ORDER BY.
...
FossilOrigin-Name: 79326d6eece926fd1c148b29f0b726208d8b44c0
2015-04-11 20:44:28 +00:00
dan
96974bd393
Fix a problem with sorting large amounts of partially ordered data.
...
FossilOrigin-Name: acca97efda86a0c020854d2dd9da16f5879986b1
2015-04-11 20:20:29 +00:00
dan
a89688144e
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: cf7590f607d94a120385576b538484ca738349e2
2015-04-11 18:45:55 +00:00
drh
dba04b6d8e
Add the --changeset option to the sqldiff utility program, for generating
...
a sessions changeset file instead of an SQL diff.
FossilOrigin-Name: f9a3a8391c28cf13d76ec54f471735d35059acea
2015-04-11 13:49:16 +00:00
drh
6e42ce44db
The --changeset option now appears to be working.
...
FossilOrigin-Name: 1a2e2803920dcf64190d81d8a487d6c3c9bb28ee
2015-04-11 13:48:01 +00:00
drh
697e5dba80
First complete attempt to generate a working changeset. Still contains bugs.
...
FossilOrigin-Name: 5611fa9bd5b8fd762d16ce9b0853c2e779a1a1b7
2015-04-11 12:07:40 +00:00
dan
8aad8c482c
Update tests in whereD.test to account for the change in the previous commit.
...
FossilOrigin-Name: da49700ca148d91e1b8863c2eb6ee79144e83ac9
2015-04-11 11:53:39 +00:00
dan
2813bde028
Do not assume an index contains unique entries unless it is declared UNIQUE and NOT NULL is specified for all columns. Fix for [7b4fee9f6c].
...
FossilOrigin-Name: e3b1f625518edc0e925116668dca5d25c3232b59
2015-04-11 11:44:27 +00:00
drh
4a33507f60
Detect and report oversized records constructed from multiple zeroblobs.
...
FossilOrigin-Name: 9e139afd92116ebc593114ed63b57c8f469653f6
2015-04-11 02:08:48 +00:00
mistachkin
2252917e75
Minor build enhancements for MSVC.
...
FossilOrigin-Name: 40c417a7efb17221cec4a0a703863854bcab8db2
2015-04-10 21:16:11 +00:00
drh
83e63dc385
Work toward adding the --changeset option to the sqldiff utility program.
...
Changes are incomplete. This is an incremental check-in.
FossilOrigin-Name: 463e38d765f9d055b63792a8ea15c3782657b07f
2015-04-10 19:41:18 +00:00
dan
4e23536e56
In sqlite3_declare_vtab(), avoid accessing the database structure until after the "api-armour" safety-check has completed and the db mutex has been obtained.
...
FossilOrigin-Name: 860e4f8a94901d451fac3954960c1d2f589e8882
2015-04-10 16:05:33 +00:00
drh
e918aaba98
Fix foreign key CASCADE for cases where the parent key is an INTEGER PRIMARY
...
KEY and the parent table contains other columns named "rowid", "_rowid_",
and "oid".
FossilOrigin-Name: ed3cbaab6ad49b0cb5b17e44def26c866919387a
2015-04-10 12:04:57 +00:00
dan
6864076cc4
Update this branch with latest trunk changes.
...
FossilOrigin-Name: 60be9c1c1ad0d8250a99cadda820dff40a31c94e
2015-04-10 08:20:42 +00:00
dan
75395ccd17
Do not allow virtual table constructors to be called recursively.
...
FossilOrigin-Name: 0a72726da21581ab16cb3e964bd825b8f2e931e4
2015-04-10 07:55:07 +00:00
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
5efbd06ab3
Version 3.8.9
...
FossilOrigin-Name: 8a8ffc862e96f57aa698f93de10dee28e69f6e09
2015-04-08 12:16:33 +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
mistachkin
30d1dcabf5
Merge updates from trunk.
...
FossilOrigin-Name: 45acf6a85150839d591316418dad59ae20ce3aa4
2015-03-27 18:22:01 +00:00
mistachkin
ad1e55e55a
Enhancements to OSTRACE usage in the Win32 VFS.
...
FossilOrigin-Name: ab5800291e1908b5b51d912feeacf748dc9be14b
2015-03-27 18:20:25 +00:00
drh
6f5a37a464
Fix the ".testctrl imposter" command in the command-line shell to be
...
consistent in error reporting and results with the other .testctrl
commands.
FossilOrigin-Name: 0ec08ba8a0fa188146b071a489908332693ba59a
2015-03-27 02:27:20 +00:00
mistachkin
9871a933c1
Using MSVC, get the sqlite3IoTrace variable working with the USE_STDCALL and/or DYNAMIC_SHELL options.
...
FossilOrigin-Name: fe976c9130f6eecfa0a10347ee3f800f32051b89
2015-03-27 00:21:52 +00:00
mistachkin
34a8065f49
In the MSVC Makefile, make the DYNAMIC_SHELL option work without USE_STDCALL.
...
FossilOrigin-Name: 25b46a9c7e03a84bee2ffddc6d7fd6ae280e9d7b
2015-03-27 00:19:31 +00:00
mistachkin
ccb43714da
When syncing a memory mapped file on Windows, flush the mapped view as well.
...
FossilOrigin-Name: df204049b9ec8dd3e43ed7dc251eaecedc05af4b
2015-03-26 23:36:35 +00:00
mistachkin
56d89cbee3
Revise Win32 locking test to account for recent log message changes.
...
FossilOrigin-Name: 1bc76339e8542770bff7829a3dd346680950c0a5
2015-03-26 18:24:26 +00:00
drh
592f0cb15e
Avoid leaving the malloc subsystem in a partially initialized state if
...
the low-level initialization callback fails.
FossilOrigin-Name: 3e872011ff5e27738c282f46d2b5803d94fe4b76
2015-03-26 17:04:23 +00:00
drh
21aa6a1acb
Provide source code line numbers for errors in the Windows VFS generated
...
by the winLogIoerr() routine.
FossilOrigin-Name: b5da0d93cd1a3c0917399af3775a32327b883c8e
2015-03-26 15:27:32 +00:00
drh
f3e8748683
Fix a harmless compiler warning in FTS3.
...
FossilOrigin-Name: 1688f60c08cc9270948402d98a2333382aa32681
2015-03-26 14:29:51 +00:00
dan
57a140946f
Optimize cases where all the sorter is sorting a set of records that all begin with integer values, or that all begin with text values to be compared using BINARY.
...
FossilOrigin-Name: ce5ad17c25cf2f8274ce304c51e4421faae0b32b
2015-03-26 11:55:03 +00:00
drh
606a357288
Change an unreachable branch into an assert().
...
FossilOrigin-Name: fb076b28c36975ff2e41440f22fe5de115c195da
2015-03-25 18:29:10 +00:00
drh
d2f83139f3
Fix the saveCursorPosition() routine in btree.c so that it works
...
correctly for a eState=CURSOR_SKIPNEXT cursor.
FossilOrigin-Name: 37866b4d483296ab9b7fcb9f5486695d4c2b8ddd
2015-03-25 17:35:01 +00:00
drh
cbd3349ab9
Reactivate an older assert() (adding an "|| CORRUPT_DB" term) and add a
...
new assert() in btree.c.
FossilOrigin-Name: 1e96520ac1d12ca83f019a60482efa0a074f2f94
2015-03-25 13:06:54 +00:00
drh
f94c9485ef
Add two new assert()s to the sqlite3BtreeDataSize() method.
...
FossilOrigin-Name: 42d1793d6516e285a8925bbfd96b3d3375603d15
2015-03-25 12:05:49 +00:00
mistachkin
d69e557940
Add SQLITE_STDCALL and SQLITE_CDECL macros on public function definitions.
...
FossilOrigin-Name: cae3239aa58b4f7016fc9dcac3966fe6ef833879
2015-03-24 22:00:26 +00:00
drh
790fa6ec30
Further simplifications to the amalgamation builder.
...
FossilOrigin-Name: e826cd7db6b3ab010533d81a759794c2470343d2
2015-03-24 21:54:42 +00:00
mistachkin
8de1250638
Update the 'mksqlite3c-noext' tool as well.
...
FossilOrigin-Name: a532256688c3a7a6385e041ec73913842e2c3ab3
2015-03-24 21:52:12 +00:00
mistachkin
26bbfaa59d
Fix a couple comment typos in a tool script. No changes to code.
...
FossilOrigin-Name: 83421af67063825981f6051eb415944d90e9b2f6
2015-03-24 21:34:53 +00:00
mistachkin
59b9b02c1f
Add SQLITE_STDCALL and SQLITE_CDECL macros on public function definitions.
...
FossilOrigin-Name: 242f09d4d1c92ee9058857a5e780442f4b7bad55
2015-03-24 21:27:27 +00:00
drh
4756404847
Suppress a compiler warning that was appearing with SQLITE_THREADSAFE=0.
...
FossilOrigin-Name: 436314b5728c9413f9ac2d837e1c19364f31be72
2015-03-24 18:19:39 +00:00
drh
126e9e6347
Prevent a virtual table from being destroyed while it is in use.
...
Also: replace Vdbe.inVtabMethod with sqlite3.nVDestroy. Simplify the
EXPLAIN output for P4.pVtab to only show the sqlite3_vtab pointer.
FossilOrigin-Name: cbeb9a1aed8ce3fb569a7717ad03c7c058b68de6
2015-03-24 16:43:34 +00:00
dan
428630cfcf
Add tests to check that attempting to DROP a virtual table while it is use does not cause problems.
...
FossilOrigin-Name: 5ee625b1980f9fab6294d308349dfd9ba960b60b
2015-03-24 14:57:21 +00:00
drh
466fd815fb
Simplify the EXPLAIN output of virtual table P4 parameters to only show the
...
pointer to the sqlite3_vtab object and omit the sqlite3_module object.
FossilOrigin-Name: 85610bbbc60cb4a6ec856123447fdb2ba948e52f
2015-03-24 14:57:02 +00:00
drh
f496a7dc81
More defenses against virtual table being deleted out from under a running
...
statement.
FossilOrigin-Name: 116c99823022c017946b6088878a2d46759deb6e
2015-03-24 14:05:50 +00:00
drh
a68d628291
Prevent a virtual table from being destroyed while it is in use.
...
FossilOrigin-Name: fba674c083286dabb37fed9357b67593b56ed3a5
2015-03-24 13:32:53 +00:00
drh
086723a4a8
Replace the Vdbe.inVtabMethod field with the sqlite3.nVDestroy counter.
...
FossilOrigin-Name: 9faefb96272967e731e83ef516a8c1e1b876391b
2015-03-24 12:51:52 +00:00
drh
ada3f2b14f
Disable loadable extensions in the command-line shell on VxWorks user-space.
...
FossilOrigin-Name: 0ee2d38deb35aefc55395e86984a9a773caf6218
2015-03-23 21:32:50 +00:00
drh
d741129e2b
Track total memory usage using a 64-bit integer on 64-bit systems. Add
...
the sqlite3_status64() interface. Make the sqlite3_status() and
sqlite3_status64() interfaces atomic using mutexes and verify correct
mutex operation using assert() statements.
FossilOrigin-Name: 6fc4e79a2350295a15ac464593ad39d904953041
2015-03-23 19:55:21 +00:00
drh
2493870d9c
Fix a non-C89 variable declaration that causes problems for MSVC.
...
FossilOrigin-Name: 3de085eab2fbe491f2242b340851e8af8f61ad13
2015-03-23 19:16:30 +00:00
drh
062cf27d00
Fix datetype size asserts in btree.c.
...
FossilOrigin-Name: ff4812d0e8e6322ca8b6992925fd4ef4aee463e6
2015-03-23 19:03:51 +00:00
drh
2b4905c81f
Add the SQLITE_PTRSIZE macro. Use it to help sqlite3_status() run faster
...
on 32-bit systems.
FossilOrigin-Name: c742bd6047bc6d0319a5a8c31d97f6b9229507f6
2015-03-23 18:52:56 +00:00
drh
af89fe66ea
Add the sqlite3_status64() interface. Make the new interface and the legacy
...
sqlite3_status() both atomic and threadsafe. Check threadsafety using
assert()s.
FossilOrigin-Name: 1ce8e8fa4b866aafa12b1da0eb4d02321af9293e
2015-03-23 17:25:18 +00:00
drh
74893a4cdb
Fix a potential NULL pointer dereference following a syntax error.
...
FossilOrigin-Name: 8d27e3e16a9be79fe227e833f4770ebe09a9d90b
2015-03-22 10:23:17 +00:00
mistachkin
d425864d33
Fix harmless compiler warnings with MSVC when assert() and SQLITE_MEMDEBUG are both enabled.
...
FossilOrigin-Name: 9513dbd4860c8dd391f831982d09aff227d16f5c
2015-03-21 23:38:59 +00:00
mistachkin
774f42b6c6
Add more comments to the MSVC batch build tool.
...
FossilOrigin-Name: 03522da37821958c647d49bf8189a5affa3f6720
2015-03-21 22:23:46 +00:00
mistachkin
082be63b17
Increase the debugging level for the debug configuration in the MSVC batch build tool.
...
FossilOrigin-Name: 041484ff91fd4615368ccb2257ab50acc2cd4fea
2015-03-21 22:13:47 +00:00
drh
5ac936529c
Do not invoke a C preprocessor macro with an empty argument, as (reportedly)
...
some versions of GCC are unable to deal with that.
FossilOrigin-Name: de9da317d4df3efefe9a1a48f954af8a19e7d098
2015-03-21 20:59:43 +00:00