drh
bfdc754f65
Fix an obsolete comment on the OP_Rowid opcode in the VDBE. (CVS 5174)
...
FossilOrigin-Name: 0d55328e680e23aae36d8f32a05aa3815393ac1d
2008-05-29 03:12:54 +00:00
shane
a6f6d20568
Omit declaration for functions that are only used by asserts if asserts aren't being used (NDEBUG). (CVS 5173)
...
FossilOrigin-Name: 5afc445a0e49def38f198455ffce9266fc8724ad
2008-05-29 03:01:23 +00:00
shane
afdd23a47d
Unused functions in testfixture.exe with certain defines. (CVS 5172)
...
FossilOrigin-Name: 5e3ff1bb37f7fbdc9b1414232bd78f096f89eced
2008-05-29 02:57:47 +00:00
shane
75998ab3d9
sqlite3OsDl*() APIs can be omitted if SQLITE_OMIT_LOAD_EXTENSION defined. (CVS 5171)
...
FossilOrigin-Name: 7c51a97dc11f20f7323a9dc5c04a3b84380cf8fb
2008-05-29 02:52:59 +00:00
shane
7bc71e5e82
Use %llx instead of %x for 64 bit values (this only affects a debugging statement). (CVS 5170)
...
FossilOrigin-Name: c81efc97bca58ebbd9500f990f7e45d133e1bd0b
2008-05-28 18:01:44 +00:00
shane
ca57b87efe
Update makefile.in so that makefiles generated by configure correctly copy in rtree source files to tsrc. (CVS 5169)
...
FossilOrigin-Name: e015fa44586b2444c78da413af50787e2690046e
2008-05-28 17:31:17 +00:00
danielk1977
7dc89e6514
Add another test case to vacuum3.test. (CVS 5168)
...
FossilOrigin-Name: d895e85e2f9b595e58562d57226404f72db89a60
2008-05-28 16:00:43 +00:00
danielk1977
b388c41552
Add a test to vacuum3.test to try to trick sqlite into using the wrong database page-size. Turns out there was no problem. (CVS 5167)
...
FossilOrigin-Name: 281589a22fa481b1dfcae69fc124458d240a0ae1
2008-05-28 14:08:17 +00:00
drh
0224d26d37
Allow the SQLITE_MAX_EXPR_DEPTH compile-time parameter to be set to 0 in
...
order to disable expression depth checking. Ticket #3143 . (CVS 5166)
FossilOrigin-Name: 5ceef40e397fc535173996404345b93f695e8cac
2008-05-28 13:49:34 +00:00
shane
1ca0ed4692
In test3.c, use type 'u32' instead of 'unsigned int' to remove a warning/error from native x86_64 compile. (CVS 5165)
...
FossilOrigin-Name: 02447e4e47659d70f014529e9baa3bf8ff75844c
2008-05-27 20:17:00 +00:00
shane
b8109ad375
Updated to use localtime_s() in Windows build environments that support it. Ticket #3126 . (CVS 5164)
...
FossilOrigin-Name: 1518827e48bc3a259b6079a5a4b8dca47b265172
2008-05-27 19:49:21 +00:00
shane
3615b5338b
Explicitly typedef Pgno as 'u32' instead of 'unsigned int' to remove a few warnings/errors from native x86_64 compile. (CVS 5163)
...
FossilOrigin-Name: b5fd8a239d787a126f775101760737781751f56e
2008-05-27 18:11:44 +00:00
drh
4b4f780188
Fix a bug in rtree that occurs when too many constraints are passed
...
in on a query. (CVS 5162)
FossilOrigin-Name: 54b84a3ddba9d27814c2f613dd197f691ac549a4
2008-05-27 00:06:02 +00:00
drh
9f86ad2354
Use %w instead of %q when constructing shadow table names for rtree. (CVS 5161)
...
FossilOrigin-Name: 78f4ba974d9b768b62391d8cd2ed407d49584cb8
2008-05-26 20:49:02 +00:00
drh
58f1c8b773
Update the amalgamation builder to incorporate the RTREE extension. (CVS 5160)
...
FossilOrigin-Name: aa8eba3360c31182f5238e96b83a382374f40fab
2008-05-26 20:19:25 +00:00
danielk1977
ebaecc148f
Import 'rtree' extension. (CVS 5159)
...
FossilOrigin-Name: b104dcd6adadbd3fe15a348fe9d4d290119e139e
2008-05-26 18:41:54 +00:00
drh
02a50b709c
Fix the LIKE query optimizer so that it works with LIKE patterns
...
ending in '@%' on NOCASE columns. Ticket #3139 . (CVS 5158)
FossilOrigin-Name: 33548744369643cc8843b74ad1fc1b7d5988d7a4
2008-05-26 18:33:40 +00:00
shane
26b340369e
Fixed various typos, spelling, grammar, and formatting mistakes. Ticket #3124 . (CVS 5157)
...
FossilOrigin-Name: 77d5a7aa1c7ea715298228ed2dbd0497cacbd0e4
2008-05-23 17:21:09 +00:00
drh
4837f53121
Add a test case of preparing a statement with an nBytes parameter of 0
...
and where the previous byte of the string is zero. Ticket #3134 . (CVS 5156)
FossilOrigin-Name: 846a69acb59403438696000b4ffd588ab42b2f95
2008-05-23 14:49:49 +00:00
drh
d2d88bbdec
Do not references zSql(-1) if nBytes==0 in sqlite3_prepare().
...
Ticket #3134 . (CVS 5155)
FossilOrigin-Name: 2d2c53e5058412a5f484ac2ca5bcef596aed2a7b
2008-05-23 14:32:18 +00:00
danielk1977
131c8bc0c2
Ensure that the db.mallocFailed flag is cleared before sqlite3_errmsg16() returns. (CVS 5154)
...
FossilOrigin-Name: 0d47653a3c39b7cd41c7e6edd8c4b4543658412d
2008-05-22 13:56:17 +00:00
drh
80105af21b
Add the "volatile" keyword to variables in the Pager structure used for
...
synchronization when memory management is enabled. (CVS 5153)
FossilOrigin-Name: 25b9f3b9b2d996ab4582b22b695c4dbd94d09cc7
2008-05-21 15:38:14 +00:00
shane
0c6844e685
Update sqlite3_open*() documentation on shared cache/filename matching relationship. Ticket #3132 . (CVS 5152)
...
FossilOrigin-Name: 235e384eca65d5007e8e0c440904eb254f9b976a
2008-05-21 15:01:21 +00:00
drh
e63b2c215e
Fix the VACUUM command so that it does not modify the changes counts
...
reported by sqlite3_changes() or sqlite3_total_changes(). Update documentation
on sqlite3_changes() and sqlite3_total_changes() to state that
"DELETE FROM table" records a change count of zero. (CVS 5151)
FossilOrigin-Name: f5d61d7d982b58accaf33df4362ce4a5eb79307e
2008-05-21 13:44:13 +00:00
pweilbacher
8407f0eb3e
Fix OS/2 compilation for pre-C99 compilers. (CVS 5150)
...
FossilOrigin-Name: de8e67182d8f9d1f0b215da93a396b9467604a50
2008-05-20 19:08:53 +00:00
drh
282c8e5cf3
Corrections to the documented behavior of sqlite3_last_insert_rowid().
...
(This change is unrelated to the problem reported by Bram de Jong. That
comes next.) (CVS 5149)
FossilOrigin-Name: 894085a59cdc60c34c8a3eb560d98bcb4a087cb1
2008-05-20 18:43:38 +00:00
drh
35c6190cbc
Changes to the error handling policies of sqlite3_exec() to make them
...
more consistent. Changes to the documentation on the error handling
polices of sqlite3_exec() so that the documentation and code agree. (CVS 5148)
FossilOrigin-Name: a0376c7907db8e2993ce48e484001e981fbbb187
2008-05-20 15:44:30 +00:00
shane
05eaf73c8c
Added more DST boundary checks for 2006 and 2007. Added check for suspect Windows DST implementations and warning about them. Ticket #2322 . (CVS 5147)
...
FossilOrigin-Name: 14226ff0a7af7b39a1089a17eeb5bbb8d09d778d
2008-05-20 14:01:59 +00:00
shane
facbc288e3
Updated test case for Windows to get around problems in ticket #3129 . (CVS 5146)
...
FossilOrigin-Name: 2faf69ca1da43f8083b96675a4886648f10177d8
2008-05-20 13:17:28 +00:00
danielk1977
71aa7fff2d
Do not attempt to write a master journal name to the (non-existent) journal file in "no-journal" mode. Fix for #3127 . (CVS 5145)
...
FossilOrigin-Name: ffd4e50ab9b14fb7b686681c5e7a37b8355bbfca
2008-05-20 07:05:09 +00:00
drh
f50bebf0ec
Improvements to API documentation. The sqlite3_exec() function now
...
sets the result returned by sqlite3_errcode() when it receives an SQLITE_ABORT. (CVS 5144)
FossilOrigin-Name: f1df19ca17a09ab8d85a4a7eb04f3ce95a6722da
2008-05-19 23:51:55 +00:00
shane
cf77a45a10
SQLite stores native file names and paths for the database file. Under Windows, (file normalize test.db) is expanded using UNIX type path separators which TCL recognizes interchangeably. However, this means that the path reported by sqlite3_shared_cache_report doesn't match which causes the test case to fail. Made minor change to test case to hopefully correct this on all platforms. (CVS 5143)
...
FossilOrigin-Name: 5ef61701398ce75e32cfaea2eacf2c3e80832ca0
2008-05-19 20:11:39 +00:00
drh
4b81592a28
Fix sqlite3Atoi64 to return true if handed a number of all zeros. The
...
failure to do this is benign as sqlite3Atoi64() is current used, but that
might change in the future so it is good to go ahead and fix the function
to return the correct result. (CVS 5142)
FossilOrigin-Name: bc90787583dd2dadff72d516de9720d4a36e7fd2
2008-05-19 15:54:59 +00:00
drh
9a855cf852
In the CLI, handle the compilation option -DOS_OS2=0 correctly. (CVS 5141)
...
FossilOrigin-Name: 70793be63c0c6dab42d48c096e0e051e37d7e788
2008-05-19 15:53:34 +00:00
shane
8ef4263135
Added test cases for corrupt 2-10 byte SerialTypeLen values. (CVS 5140)
...
FossilOrigin-Name: 97ed2dd1dc9d8e8f837914277c080160d319591b
2008-05-19 15:37:10 +00:00
danielk1977
2d1a8d2fe6
Disable the column cache when coding values that will be passed to the xFilter() method of a virtual table, in case the xFilter() implementation modifies the type or encoding of the value. Ticket #3121 . (CVS 5139)
...
FossilOrigin-Name: ecbc0d5deddc0ca0d1d2649e0134ee392266027e
2008-05-16 15:40:40 +00:00
danielk1977
1e740c6f88
Check that the encoding of values passed to sqlite3_bind_value() matches that of the database. (CVS 5138)
...
FossilOrigin-Name: e94a2883060b9ef59809ff4de9525d897d95546c
2008-05-16 15:24:58 +00:00
danielk1977
822a51628f
Add more version tags to files that lack them. Ticket #3120 . (CVS 5137)
...
FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
2008-05-16 04:51:54 +00:00
drh
6c3af6e383
Add version tag comments to source files that lack them.
...
Tickets #3118 and #3119 . (CVS 5136)
FossilOrigin-Name: cf1fb2d850c3eebc2f92159a156695b61f023202
2008-05-15 19:43:52 +00:00
danielk1977
59a93791ce
Add the "page_count" pragma. Returns a single integer - the number of pages in the specified database file. (CVS 5135)
...
FossilOrigin-Name: eb6985e69ce2a5e5e7361f6226d1cfc547fd441d
2008-05-15 17:48:20 +00:00
danielk1977
dad31b5e11
If a pager is already in the error-state when CommitPhaseOne() is called, exit early. (CVS 5134)
...
FossilOrigin-Name: 443cf1056c73ae89d0efcc7a462455c078b3a4a8
2008-05-15 11:08:07 +00:00
danielk1977
28bbd22307
Fix a test script bug - not all database handles were being closed by ioerr5.test. (CVS 5133)
...
FossilOrigin-Name: 47652e7b169626e5f3d95f29e867a2e8f68c5025
2008-05-15 09:07:55 +00:00
danielk1977
c41cc395c5
Do not write pages to disk to free memory after an IO error occurs. (CVS 5132)
...
FossilOrigin-Name: 10ea8287d090ae610416b4754c0838f13b51fd78
2008-05-15 08:34:54 +00:00
drh
729414c448
Version 3.5.9 (CVS 5131)
...
FossilOrigin-Name: b6129f4cc28f6ba55d19039545555b33857ffd72
2008-05-14 16:18:10 +00:00
shane
d3638aef0b
On instruction from DRH, only do malloc failure tests for O/S ops on non-Windows systems. Better test fixture code will be introduced in 3.6.0 to add this coverage back in for Windows. (CVS 5130)
...
FossilOrigin-Name: e4aab150042bd22868ab02645151cb69a1c02ba0
2008-05-13 19:41:53 +00:00
drh
cec3e3eeaa
Do a slow-path in GetVarint32() for varints that do not fit in 32 bits.
...
This will only happen when trying to interpret a corrupt database file
so speed is not critical. (CVS 5129)
FossilOrigin-Name: 6a6b9437367b66c3b6f710cf3abbdb9841765b21
2008-05-13 16:41:50 +00:00
drh
4873d5f614
Make the benign-fault setting recursive. Make all malloc failures
...
during a rollback benign since there is nothing we can do about them. (CVS 5128)
FossilOrigin-Name: a9d1d931358637a6f039723a053098f65530de4b
2008-05-13 13:27:33 +00:00
drh
d138c0168f
Update the pager so that it does not try to commit a transaction if there
...
have been no changes to the database. (CVS 5127)
FossilOrigin-Name: f1ed3689239098e0630e8d61f52971bcdf2801b6
2008-05-13 00:58:18 +00:00
drh
866108f802
Update the autoconf makefile so that it includes -lpthread. (CVS 5126)
...
FossilOrigin-Name: bd654ebdbe752b44f801726eea16f40aa27df920
2008-05-13 00:57:21 +00:00
pweilbacher
8bf23da5a3
check that DosWrite() was successful before trying again (CVS 5125)
...
FossilOrigin-Name: 1ef6458bee4f0f77ded7c532f196d4c876ec9649
2008-05-12 16:56:13 +00:00