drh
7fd3c07465
Remove an unnecessary initialization of Vdbe.aOnceFlag.
...
FossilOrigin-Name: 421714dad32f3460fa40a7f65e9fa276f5e37f58
2011-12-09 17:38:23 +00:00
drh
ec86c724ac
Take out the OP_JumpOnce opcode. Revert compound SELECT to use OP_IfNot,
...
which is the correct behavior. Mark trigger registers as initially
invalid.
FossilOrigin-Name: 6a9fb47d5060fe641915f5f99cc9265409a4583b
2011-12-09 17:27:51 +00:00
drh
f4d31bcb05
Previous check-in broke auto-increment. This check-in appears to fix it.
...
FossilOrigin-Name: 28ffd39c7162c8f7139711545122cffa257911dd
2011-12-09 16:59:19 +00:00
drh
b8475df809
Make no assumptions about the initial state of VDBE registers.
...
FossilOrigin-Name: 521d72bdf67b4b1972331307345a18c231a6e1d6
2011-12-09 16:21:19 +00:00
dan
1d8cb21fdb
Modify the OP_Once opcode so that it works correctly in trigger sub-programs. This is a candidate fix for [7bbfb7d442].
...
FossilOrigin-Name: 557c69055a300b4082830b5f4803091dca1c3140
2011-12-09 13:24:16 +00:00
mistachkin
254582f4c2
The Windows OS flavor #ifdefs must be performed after the 'windows.h' file has been included.
...
FossilOrigin-Name: 3702a31e56fe02d14ce246109b318a124cad9f1a
2011-12-09 05:52:16 +00:00
drh
f1c5726ef1
Hand merge the zone allocator for MacOS from the apple-osx branch.
...
FossilOrigin-Name: 0d955c20c02da29582b5cd8df2b7124fb9d12ebb
2011-12-08 20:41:33 +00:00
drh
8dd4afadd8
In persistent WAL mode, truncate the WAL file to the size specified by the
...
journal_size_limit pragma when disconnecting from the WAL.
FossilOrigin-Name: 9687b305c2320109a8649612181eecd2e0da7c7b
2011-12-08 19:50:32 +00:00
mistachkin
c4eef45c14
Follow the previously established pattern for detecting preprocessor defines for specific flavors of Windows (for NT in this case).
...
FossilOrigin-Name: a0d92193dd5ae97608748f354aa17eb188431546
2011-12-08 03:51:12 +00:00
drh
23b1b37229
Cherrypick the [7e5b56b1c6] fix for the sqlite3SelectDup() routine
...
into trunk.
FossilOrigin-Name: 7fc535090ca3416706dff4abce10ac2d7f775e02
2011-12-07 01:55:51 +00:00
dan
ed51f29774
Add file tkt-3a77c9714e.test, containing tests to verify that the problem documented by ticket [3a77c9714e] has been fixed.
...
FossilOrigin-Name: 162421dadf93e9201c3290d800c597cbeeacdb40
2011-12-06 13:46:54 +00:00
drh
cdc6955716
Do not reuse temp registers originally allocated to a subroutine within
...
the main body of the program logic, since if the subroutine is called
while the reused temp registers are in use, their values will get clobbered.
Candidate fix for ticket [3a77c9714e63330]
FossilOrigin-Name: 092d53315e50be42b51ef7b3069c82c32a129b6a
2011-12-06 13:24:59 +00:00
drh
5833089707
Merge the winGetLastError fixes into trunk.
...
FossilOrigin-Name: 5b03ba9db0d23a8597b45e00ad5892c8065ce1cd
2011-12-06 00:47:51 +00:00
drh
d4e244ad56
Remove unused fields from the Parse object. Documentation and formatting
...
improvements on data structure definitions.
FossilOrigin-Name: 431556cac0b2c86d7f6a60412ff1023feeaafedf
2011-11-29 15:40:32 +00:00
drh
76a3acacea
Remove unused boolean fields from the UnpackedRecord object.
...
FossilOrigin-Name: b10d091ec02e94643e865743129e2a21147b3136
2011-11-29 15:04:12 +00:00
drh
4dd65e0f0c
Removed the unused "type" field from the CollSeq (collating sequence) object.
...
FossilOrigin-Name: ab89b047e82efdf59ed91a38b5195341a3743cbf
2011-11-29 14:46:56 +00:00
drh
5c0c56b89c
Update the version number to 3.7.10.
...
FossilOrigin-Name: ed0151ba8379a6c95304c9a8f9fe47e741fb80a3
2011-11-25 21:51:03 +00:00
drh
814d6a7ba7
Fix a typo in the documentation for sqlite3_stmt_busy().
...
FossilOrigin-Name: 7812626d1da1e19f2fc54a045c9fe2741ce68699
2011-11-25 17:51:52 +00:00
drh
2fb6693e02
Add the sqlite3_stmt_busy() interface.
...
FossilOrigin-Name: 95cc4af686dc9bf85cb7224aecde27c9ca14ad5c
2011-11-25 17:21:47 +00:00
mistachkin
d1ef9b6da1
Cleanup the semantics surrounding use of the GetLastError function on Windows.
...
FossilOrigin-Name: 7e657bbb800107c992a6ee7a3b35bc0a073bf3e4
2011-11-21 00:54:37 +00:00
drh
5e4461b261
Change the multiplexor to use a 3-digit suffix.
...
FossilOrigin-Name: 0b7edc44757660c8a5ae3b91cbcc3e6afd419b28
2011-11-18 13:10:51 +00:00
drh
21495ba8a3
Improvements to the documentation of the sqlite3_db_filename() interface.
...
FossilOrigin-Name: 1c45b2a0c055f6fc5da9d00ae2e9171099d904d4
2011-11-17 11:49:58 +00:00
drh
070ad6b6fe
Restore the test for sqlite3OsFullPathname() failure that was mistakenly
...
removed when [ceee03c79a] was backed out by [69ec53fc1c].
FossilOrigin-Name: 4d3cf9e1d8ac356db5a708913f614e42a6a56b94
2011-11-17 11:43:19 +00:00
drh
283829cb20
Add the sqlite3_db_filename() interface.
...
FossilOrigin-Name: 93a947989b57959aacc37007a143fdf3921793ab
2011-11-17 00:56:20 +00:00
drh
f20fb8c6f3
Back out the [ceee03c79a] change.
...
FossilOrigin-Name: 69ec53fc1c60b07bf4aaa983dcd5bf3164fb1ea5
2011-11-16 23:29:37 +00:00
drh
09419b4bae
Add the sqlite3_db_release_memory() interface and the shrink_memory pragma.
...
FossilOrigin-Name: 3f58e7c8895d1252eff56282c08b1a6f1194452c
2011-11-16 19:29:17 +00:00
drh
870c0178f7
Merge the PCACHE2 changes into trunk.
...
FossilOrigin-Name: 457513f21f2438c61b1a214716e338a4e3eeaafa
2011-11-16 18:08:07 +00:00
drh
d236b16412
Change the multiplexor suffix from 2 to 3 digits.
...
FossilOrigin-Name: 06e0cdaf9112f722c23692e25c5b1f99b61c2d78
2011-11-16 17:32:28 +00:00
drh
8f10acdb5b
Remove code made obsolete by the changes to index processing that allow
...
range search on the rowid.
FossilOrigin-Name: a5418c7fc216a30abf7b2fa8c579aee586393a91
2011-11-16 16:23:15 +00:00
dan
6f13323118
Fix an invalid assert() statement added by [3b58f5f066].
...
FossilOrigin-Name: 888b09dd8fc0a31b69852a2c10eebb5f31fe35de
2011-11-16 15:41:29 +00:00
dan
0c733f67d8
Where possible, take advantage of the rowid at the end of index records to optimize range constraints (<, >, <=, >=) on the rowid column.
...
FossilOrigin-Name: 3b58f5f06648205a47e5cace0201269c406e476a
2011-11-16 15:27:09 +00:00
dan
bf567db91d
Update memsubsys1.test to account for the recently increased size of the MemPage structure in btreeInt.h.
...
FossilOrigin-Name: 4fb3ca756a3a7c66baa4745a9b2c1e246a67c699
2011-11-16 08:18:20 +00:00
drh
3f5b98df17
Forward port the 8-byte alignment fix from branch-3.7.9.
...
FossilOrigin-Name: ebf6eb6ed756c0a3158b4cb5fb4b460c79d93c29
2011-11-14 03:00:28 +00:00
drh
e09b84c558
Fix a 8-byte alignment problem that causes a SIGBUS on Sparc.
...
FossilOrigin-Name: 54cc11981127b52145e39f551d958580b1d45169
2011-11-14 02:53:54 +00:00
drh
81ef0f97ef
Add a version number to the sqlite3_pcache_methods2 object. Other PCACHE2
...
documentation improvements.
FossilOrigin-Name: 9f839ac05a9f3cfe587d2ccdccd50dac41baedbe
2011-11-13 21:44:03 +00:00
drh
f923f82118
Attempt to modify btree.c so that it assumes that calls to sqlite3PagerWrite()
...
will reallocate the page buffer. As there is not good way to test this
assumption yet, probably a few spots were missed.
FossilOrigin-Name: ceee03c79a55ea39866758aa76b78b10e5f4246d
2011-11-12 23:10:13 +00:00
drh
d515660523
Remove a couple of incorrect assert statements so that the test suite will
...
run with -DSQLITE_DEFAULT_CACHE_SIZE=0.
FossilOrigin-Name: 87614b62ace530761e0e1170ec5840b212735ec6
2011-11-12 16:46:55 +00:00
drh
cc682cc875
Merge the windows xSyscall enhancements into trunk.
...
FossilOrigin-Name: c1fab9aca1fe1dda2b4c7e4fdc0a406998847bdb
2011-11-12 15:41:52 +00:00
mistachkin
6c3c1a0951
Make sure to flag benign malloc failures in the Windows VFS as such. Expand use of the DO_OS_MALLOC_TEST to cover the VFS functions that can now return an out of memory error. Support an experimental --match option to the test suite that will run only those tests matching the specified pattern.
...
FossilOrigin-Name: 76dec8aa9dbbc39e0a7c3b358b58ce7f7a477a2b
2011-11-12 03:17:40 +00:00
drh
4cb5f436cb
Catch and report errors from sqlite3OsFullPathname().
...
FossilOrigin-Name: 77119785c84ac7f416ed72c38c532399b6093d7a
2011-11-11 23:51:15 +00:00
mistachkin
5f075388de
Remove use of malloc and free from the Windows VFS. Also, prevent sqlite3BtreeOpen from assuming that sqlite3OsFullPathname cannot fail.
...
FossilOrigin-Name: 8966ec1797be63d1305628d459bdad5be08cf3ca
2011-11-11 23:31:04 +00:00
mistachkin
318507b74f
Work in progress to implement the 'syscall' functionality for Windows.
...
FossilOrigin-Name: ed88fb00240de75457c0da19e87c12082622ca17
2011-11-11 22:08:54 +00:00
drh
c90747313e
Pull over all the latest changes from trunk.
...
FossilOrigin-Name: 1bbbf8574a820c5f787a937f02a8e2a91264ace0
2011-11-11 14:12:36 +00:00
drh
3def2357e6
Make sure a corrupt index does not cause a buffer overread in
...
sqlite3VdbeRecordCompare().
FossilOrigin-Name: 471cf0d8e7857110e525e029c2d535cb518dba6a
2011-11-11 00:27:15 +00:00
mistachkin
a9664a14ea
Expand passing of a last error argument to the getLastErrorMsg function. Also, remove unused SQLITE_W32_THREADS define.
...
FossilOrigin-Name: 8f28797984c1d4700357a75815ca4b324c3ebf5c
2011-11-10 21:45:06 +00:00
mistachkin
2aef997cbd
In winAccess, save the Win32 last error value prior to invoking user logging callback. Also, explicitly pass the Win32 last error value to winLogError in order to keep it accurate. Fixes a problem reported on the mailing list.
...
FossilOrigin-Name: 32ab365715e2c50f30aa2f92a323857b9d917bf6
2011-11-10 20:21:20 +00:00
drh
61a4bd5c6c
Follow-on to the previous check-in to prevent a division by zero if the
...
lookahead slot size is something goofy like 6 on a 32-bit machine.
FossilOrigin-Name: 6bda711f93e753dd0be8d896a007b3f7b5064787
2011-11-10 02:39:28 +00:00
drh
8225d66be6
Use sqlite3MallocSize() to get the actual size of the memory allocation
...
used for lookaside cache and increase the size of the cache to use the
full allocation.
FossilOrigin-Name: 0e53ecad9468d0a13d155a4462551d4c234a7d5c
2011-11-10 02:24:11 +00:00
drh
d6ca4b9fe1
Omit an unnecessary Sleep() call in windows pending-lock retry
...
logic. Enhance the comment on that logic to discourage people
from copying it into other VFSes.
FossilOrigin-Name: 0c951a970436725b6bbd64568de500f7a4e6460b
2011-11-09 18:07:34 +00:00
mistachkin
32121199be
When compiling with MSVC, use the _msize function.
...
FossilOrigin-Name: 797a147934743a565c6f1f9dd4d41574690b4c2b
2011-11-09 17:01:40 +00:00