drh
e191e2c6d0
Include the sqlite3session.h header file in with sqlite3.h. Make sure
...
the session APIs are all public.
FossilOrigin-Name: ec490336bc6629d3910667ece1bbc4685a199546
2013-03-19 15:23:18 +00:00
drh
c03edc0b62
Adjust the MSVC makefile so that it correctly handles the sessions
...
extension being included in the amalgamation. Import the test case
changes that appeared in 3.7.16 final.
FossilOrigin-Name: 9bac09a99aef5f18386037b409869d760c520d53
2013-03-18 16:24:33 +00:00
drh
5b4b255151
Version 3.7.16
...
FossilOrigin-Name: 66d5f2b76750f3520eb7a495f6247206758f5b90
2013-03-18 11:39:23 +00:00
mistachkin
38b4daa122
Fix typos in MSVC makefile.
...
FossilOrigin-Name: 2d15c2685750b930c5b7e2f06cb056b24a037967
2013-03-13 19:02:39 +00:00
drh
8ce2b0956a
Fix main.mk so that it builds the amalgamation correctly.
...
FossilOrigin-Name: 0b84e277245f10f928c010ea5958923681c6d582
2013-03-13 12:20:15 +00:00
drh
498dcae0f0
Fix a compiler warning in sqlite3VdbePreUpdateHook().
...
Add sqlite3session.c to the amalgamation.
Fix the Makefile.in to work with sessions.
FossilOrigin-Name: e54b0225f226a163ec874df7d4b738efba12b3a7
2013-03-13 11:42:00 +00:00
dan
27e6df4e41
Enhance tests for ticket [4dd95f6943].
...
FossilOrigin-Name: 0b452734faa0839c817f040322e7733e423bfce2
2013-03-13 07:02:04 +00:00
dan
bfb5a031e5
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: d6cd3c780c6bc718d37e0f0b884e3e9a423d57be
2013-03-13 06:34:51 +00:00
drh
b19cad6b94
Fix the ORDER BY with IN constraint logic so that it works with all
...
combinations of DESC on the ORDER BY clause, on the RHS of the IN operator,
and in the index used by ORDER BY and IN.
Fix for ticket [4dd95f6943fbd18].
FossilOrigin-Name: 839aa91faf1db7025d90fa3c65e50efb829b053b
2013-03-13 00:13:25 +00:00
drh
725e1ae52e
Add a single new test case to the ORDER BY with IN logic verify that if the
...
RHS of the IN is a descending index that it still works. Add testcase()
macros to the ORDER BY with IN logic to help verify that corner cases are
tested.
FossilOrigin-Name: 7e7356f1552cd53ea363d1ded3b2c221c9d0be01
2013-03-12 23:58:42 +00:00
mistachkin
706627b870
Fix typo in sqlite3_close() function documentation reported on the mailing list.
...
FossilOrigin-Name: c9a75d890f06cf3806d7b8879824a11d3a8e7016
2013-03-12 23:03:42 +00:00
drh
3c60421864
Fix a test case that had an ambiguous result.
...
FossilOrigin-Name: 38c6bddf8cf15fb358858da6da457046f40b61ce
2013-03-12 22:13:33 +00:00
mistachkin
f5840160b7
Fix typo in sqlite3_close() function documentation reported on the mailing list.
...
FossilOrigin-Name: 7232093d6c6871a9f4ea155ab215e3b39c1c322d
2013-03-12 20:58:21 +00:00
drh
1ccce44937
Fix the ORDER BY optimization with IN constraints when the RHS of the
...
IN constraint is a descending index.
FossilOrigin-Name: 62316ebaca933f7e5df2018e8360a2b74234f30a
2013-03-12 20:38:51 +00:00
drh
d383216383
Revise the patch to make it easier to understand.
...
FossilOrigin-Name: 3ce7eb0265b5be4e23264ae41332b947011ff1ad
2013-03-12 18:49:25 +00:00
dan
d7e8689078
Add test cases for [4dd95f6943].
...
FossilOrigin-Name: 723c144c76fc171e5d19072d6d42a08013921ec6
2013-03-12 18:44:49 +00:00
drh
7a3e147ee2
Revised fix for the DESC ORDER BY and IN constraint bug,
...
ticket [4dd95f6943fbd18]. The previous check-in was incorrect.
FossilOrigin-Name: 8b2eb7a43b4580f04c14ea8600cf080e0e7f384d
2013-03-12 18:40:20 +00:00
drh
0fe456bb29
A proposed fix for the DESC ORDER BY bug of ticket [4dd95f6943fbd18].
...
Seems to work, but lots more testing is needed prior to moving to trunk.
FossilOrigin-Name: 614a038ad2fe111687d2bc1c0aa716d7eb8fdd7c
2013-03-12 18:34:50 +00:00
dan
1bc8b87e46
Merge recent changes to trunk into sessions branch.
...
FossilOrigin-Name: 62adb0e0d70e619becb68ffd2625d979bcc777cd
2013-03-12 11:38:59 +00:00
dan
881bd79293
Define _BSD_SOURCE when building on OpenBSD. This is required for fchmod().
...
FossilOrigin-Name: f9027cb47bdec8dcebf1f038921b28d9e9928c18
2013-03-11 13:37:52 +00:00
dan
b606ec52c7
Fixes for compiling with SQLITE_OMIT_AUTOVACUUM and/or SQLITE_OMIT_TRIGGER defined.
...
FossilOrigin-Name: 1da15adba8f6eec69c24ec6385d6f1a7905a388f
2013-03-11 11:57:30 +00:00
dan
09ff9e1664
Fixes for compiling with SQLITE_OMIT_AUTOVACUUM and/or SQLITE_OMIT_TRIGGER defined.
...
FossilOrigin-Name: 938b91e8552516772060d4e55e2f79cca4c13e27
2013-03-11 11:49:03 +00:00
dan
3da0df9d18
Add a test case for the problem fixed by the previous commit.
...
FossilOrigin-Name: e899b058a703158012c054974bd9a909d75144d8
2013-03-09 14:49:07 +00:00
dan
6d235cb8d8
Fix a problem with resolving "db.view.column" references that appear in UPDATE or DELETE statements executed against views.
...
FossilOrigin-Name: ddee56c9b2b591b9386b1072c3b3a699f7c1f853
2013-03-09 14:40:24 +00:00
dan
994ff6f587
If SQLITE_OMIT_UTF16 is defined, avoid setting the 'enc' field of Schema objects to any value except SQLITE_UTF8. Otherwise, assert() statements may fail or spurious SQLITE_NOMEM errors may be returned at the vdbe level later on.
...
FossilOrigin-Name: f2fecfb2d32cf666e16a87032042dc163ac30250
2013-03-08 18:16:33 +00:00
dan
dbd4d5fc77
If SQLITE_OMIT_UTF16 is defined, avoid setting the 'enc' field of Schema objects to any value except SQLITE_UTF8. Otherwise, assert() statements may fail or spurious SQLITE_NOMEM errors may be returned at the vdbe level later on.
...
FossilOrigin-Name: 69746ef787680a4b7590bd1d3c86b229d9d0dac4
2013-03-08 07:10:37 +00:00
drh
fe7a5d11b6
Fix the char() function so that it works even if SQLITE_OMIT_UTF16 is defined.
...
FossilOrigin-Name: af542c82e8e7f0415530b639fa397429c5f377f6
2013-03-07 14:00:04 +00:00
mistachkin
5acefe7dbe
Skip tests that require UTF-16 support when compiled with SQLITE_OMIT_UTF16.
...
FossilOrigin-Name: e39391422e748407d74853d3de297dc1ea6b991d
2013-03-07 09:39:18 +00:00
mistachkin
ef593f293e
Fix two compilation issues, one warning and one error, that occur only when SQLITE_OMIT_UTF16 is defined.
...
FossilOrigin-Name: 10ace06be7fbe9a76a201c418b2af453c7a69043
2013-03-07 06:42:53 +00:00
dan
42c4bd02f4
Fix a problem in incrvacuum_ioerr.test. Do not run ioerr6.test with an in-memory journal.
...
FossilOrigin-Name: 66576b450a0f0329571e344280994a964c967f8f
2013-03-06 11:44:57 +00:00
drh
b05567ed4b
Merge all the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: d69d21903b883067c66dbcdefe6b369a6fe328b0
2013-03-06 02:12:18 +00:00
drh
459f63e7ed
Fix a bug (ticket [fc7bd6358f59]) that caused incorrect query results in
...
three way queries that involved comparing INTEGER and TEXT columns for
equality.
FossilOrigin-Name: 7097241c1220ada318f8eda938c3e3430b94a606
2013-03-06 01:55:27 +00:00
drh
a0272d8255
Add the SQLITE_READONLY_ROLLBACK extended error code.
...
Do not try to set the permissions on journal or wal files except if the
filesize is initially zero (indicating that it is a new file.)
FossilOrigin-Name: ce4ac66a4b623a3cee1a63089dd5ba8341244f1e
2013-03-06 01:48:20 +00:00
drh
cfc176973e
Fix an operator precedence problem on the [1d8086902e] check-in.
...
FossilOrigin-Name: 4f5f3aebe81c3cbe539db3e33ec38fa3de47e90b
2013-03-06 01:41:53 +00:00
dan
77dfe91662
Merge experimental branch with trunk.
...
FossilOrigin-Name: 4e6e07a60e543d5d1727cde27ab11e156202a1b8
2013-03-05 16:54:45 +00:00
dan
b83c21e600
Do not attempt to set the permissions on an existing journal or wal file. Do this only immediately after creating a new file (or opening one zero bytes in size).
...
FossilOrigin-Name: 1d8086902ee96347491bce5ec04dc92ccd42efa1
2013-03-05 15:27:34 +00:00
dan
e3664fb03c
Add extended error code SQLITE_READONLY_ROLLBACK. Returned if a read-only connection cannot read the database because doing so would require it to roll back a hot-journal.
...
FossilOrigin-Name: 39247b14a52b0c0222fe5a848bf0aef0854058c4
2013-03-05 15:09:25 +00:00
dan
e1df4e31ec
Fix a bug in the recent incremental-vacuum related changes.
...
FossilOrigin-Name: 717863fca6d58828bf9321bc8b169e385ad4263f
2013-03-05 11:27:04 +00:00
drh
edf9a17b47
Simplified error message on the showdb utility.
...
FossilOrigin-Name: 8e0ced1af78d8c25a06423a8e7e337ac845155cc
2013-03-05 01:46:26 +00:00
dan
84fb4c22b9
Omit a test that uses the progress handler callback from view.test if OMIT_PROGRESS_HANDLER is defined.
...
FossilOrigin-Name: f40552ada57622825d2974d392356aa34612d5ee
2013-03-04 17:41:32 +00:00
dan
e0ac363c62
Remove an assert() statement that has been incorrect since the recent incremental-vacuum related changes in [26e235b7a4].
...
FossilOrigin-Name: 090a47127fde90616a92a324d26bf9ddd4053120
2013-03-04 16:35:06 +00:00
drh
7015698b81
Add the test_fs.c test module to Makefile.in. Adjust the success criteria
...
on index5-1.3 so that it works under auto_vacuum configurations.
FossilOrigin-Name: b457c8870ac5ef58f2b7f8daed723c0cf0c07340
2013-03-03 20:26:46 +00:00
drh
82e647d7c3
Update comments on the free-page allocator to accurately reflect the
...
latest implementation. Add new asserts to the free-page allocator.
FossilOrigin-Name: 9a135e37b696b8544da8dbddf9d1041b8fa6f1c2
2013-03-02 03:25:55 +00:00
drh
1d59d036de
Complete the initialization of the loadable extension thunk table. Also
...
fix other (harmless) compiler warnings.
FossilOrigin-Name: 780d06c5e54590f677f993fa9c313989c2eab8c7
2013-03-01 23:40:26 +00:00
drh
1488052d38
Update the cygwin interface to use the newer 1.7 APIs instead of the
...
1.5 APIs. Also shorten over-length source code lines in os_win.c.
FossilOrigin-Name: 6b2838336a31e34c540210ccc9c934d4ba94757c
2013-03-01 23:24:04 +00:00
mistachkin
6e8a54fbd2
Prevent Tcl file encoding issues in the tests for the unicode() and char() functions.
...
FossilOrigin-Name: c9c2b82c86fff457a0b32d5be84ec66639065ae1
2013-03-01 23:13:37 +00:00
drh
6ffb4975f7
Fix an overly restrictive assert() in the pager.
...
FossilOrigin-Name: f476eace86102fd5442cfbba169c18f6ee44eae2
2013-03-01 21:01:05 +00:00
drh
de97724827
Fix the handling of UTF16 surrogate pairs in the char() function.
...
FossilOrigin-Name: ff67d87894eeb0036374235c5723e267536909f9
2013-03-01 15:02:52 +00:00
drh
503a686e09
Always use strncmp() rather than memcmp() when comparing strings where one
...
or other string might be less than the length parameter, since optimized
versions of memcmp() might read past the first difference and in so doing
generate an access violation.
FossilOrigin-Name: d73435587ba7459e2e2c32980d0e17abdeceb4bc
2013-03-01 01:07:17 +00:00
mistachkin
016fff2b6e
In the incrvacuum3 test, add missing call to the Tcl close command.
...
FossilOrigin-Name: cd8067238439638bcfd3966d55d2a3990f36d702
2013-02-26 18:54:18 +00:00