aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Minor change to sqlite3Utf8Read() to make consistent with READ_UTF8() usage ↵shaneh2011-03-24
| | | | | | | and avoid implementation defined usages of <<. Added some additional UTF-8 test cases. FossilOrigin-Name: 7173b3929fae4e678223b0e978a2da7fa50a9005
* The changes to fix [f7b4edece25c9948] mean that the schema is always loadeddrh2011-03-24
| | | | | | whenever a prepared statement is running. This means that a couple of branches can be eliminated and one operand of OP_ParseSchema can be removed. FossilOrigin-Name: b6e268fce12829f058f1dfa223731ec8479493f8
* Fix a signed/unsigned comparison compiler warning.drh2011-03-23
| | | FossilOrigin-Name: c81da6f98d89935442c447a51736e11baf5a7bc1
* Update the test_vfstrace.c shim to conform to the new VFS interface fordrh2011-03-23
| | | | | xSetSystemCall and xGetSystemCall. FossilOrigin-Name: ad4dc7b95f94fc9a5430c1305fb61d9de79b3365
* Change the xSetSyscall methods of the VFS so that they do not cast objectdrh2011-03-23
| | | | | pointers into function pointers. Fix other unrelated compiler warnings. FossilOrigin-Name: e059152adce3a8fb693f082b82b5669a238c8d6f
* Increase the upper bound on SQLITE_MAX_ATTACHED from 30 to 62.drh2011-03-23
| | | FossilOrigin-Name: 7aaf8772274422f5020fad9eea490e195170720f
* In the shell, make sure the ".log" command has at least one argument.drh2011-03-23
| | | FossilOrigin-Name: 1ed5e361ca7bfa9226fec265704394e0f228f0c5
* Add the ability to enable and disable foreign key constraints and triggersdrh2011-03-21
| | | | | using calls to sqlite3_db_config(). FossilOrigin-Name: 09e167f9c14625924b17bbb1f292f89ac9ddc93a
* Add a generation counter to the Schema object and enhance OP_VerifySchemadrh2011-03-18
| | | | | | to also check the Schema generation. Fix for ticket [f7b4edece25c99]. FossilOrigin-Name: 36c04dd1695f0899b53ce58738181b146fc005ed
* Update the implementation of ".testctrl" in the command-line shell to usedrh2011-03-17
| | | | | | a look-up table rather than a long sequence of if-elses. Shorten source code lines of shell.c to 80 characters or less. FossilOrigin-Name: 54bacb95dd6e2d6ac4971391a40484ccb9126d29
* Comment enhancement to better explain the logic in the "x IS NULL" drh2011-03-17
| | | | | optimization. FossilOrigin-Name: 869f894798a65f8bc0e0b083866a784fa0189f68
* Enhances to the query planner such that "x IS NULL" constraints take thedrh2011-03-17
| | | | | STAT2 statistics into account, just like "x=VALUE" constraints. FossilOrigin-Name: 2353176811f752a16c1f2351a3d3431919b062a9
* Additional interpretation of flags and constants in the VFS trace output.drh2011-03-16
| | | FossilOrigin-Name: 3e984195f1f6d28734456dd726d226cedf207da2
* Add the -vfstrace option to the usage error message in the shell.drh2011-03-16
| | | FossilOrigin-Name: baca45c549e1c144257ee657258939640120e094
* Add the VFS-trace shim.drh2011-03-16
| | | FossilOrigin-Name: f49a9ef3387bd4453f5654ebe83fea445c03cf4d
* Make the "unix-excl" VFS work exactly like "unix" if the databasedrh2011-03-15
| | | | | file is read-only. FossilOrigin-Name: d9846834993079fb2e42d6bd2644b2154ef324d1
* Fix an out-of-order variable declaration in shell.c.drh2011-03-15
| | | FossilOrigin-Name: 725708465072fc63736e99610cc9cb0ac336145a
* Fix cut-and-paste typo in debugging print statement in winMutexTry().shaneh2011-03-15
| | | FossilOrigin-Name: def98fd23e42bda13547e38ab13fed0e6554ce99
* In the "unix-excl" VFS, use the heap for shared memory, since only a singledrh2011-03-12
| | | | | process is able to read or write the database. FossilOrigin-Name: a05a6d40875df674f9c2b46e33128c6878d4edaa
* Add the new optional "unix-excl" VFS. This VFS grabs an exclusive lock ondrh2011-03-12
| | | | | | the database preventing other processes from accessing it, but continues to allow other database connections from the same process. FossilOrigin-Name: 00051c3296e11211b2bb5ae28f016b17dca857d7
* More tests for SQLITE_OMIT_UNIQUE_ENFORCEMENT and minor change to ↵shaneh2011-03-12
| | | | | implementation. FossilOrigin-Name: b86999436ec2414c990ba720441fe316f647eef6
* Remove an unused field from the unix sqlite3_file object.drh2011-03-11
| | | FossilOrigin-Name: f957f23a8a392bb1720720960bda2c7b24de9663
* Skip unique constraint enforcement if compiled with ↵shaneh2011-03-10
| | | | | SQLITE_OMIT_UNIQUE_ENFORCEMENT. FossilOrigin-Name: ba85bf8cb88f7ae220d919f5c23f51d9dcedc843
* Minor clean-up of previous mem5 allocator fix.shaneh2011-03-10
| | | FossilOrigin-Name: 3643842316239ff7859f0ec522736a2b9c03d22c
* Fix issue with mem5 allocator when min request size is larger thatn 2^30.shaneh2011-03-09
| | | FossilOrigin-Name: d7dae06fb2d57ed6b9555b774712f42077ae4155
* Omit unnecessary OP_Next and OP_Prev operators when uniqueness constraintsdrh2011-03-09
| | | | | guarantee that the code will only make one pass through the loop. FossilOrigin-Name: f000c9b2b7348238fe2085140d2dd05294a19709
* Updates to the OS/2 implementation from Rich Walsh.drh2011-03-09
| | | FossilOrigin-Name: dc46156a2237701679433779b871844f4f2abe4b
* Merge the syscall-override changes into trunk.drh2011-03-08
|\ | | | | FossilOrigin-Name: 36d79e6f54cdc4129c6e6366a49722e2cf1cccbd
| * Handle EINTR errors from open().drh2011-03-04
| | | | | | FossilOrigin-Name: a7d176b27cd73791d45eb3a31df78187ae10ce20
| * Add additional VFS methods to retrieve system call pointers and to get adrh2011-03-02
| | | | | | | | | | list of all changeable system calls. FossilOrigin-Name: 38558363494e3a736dcb091dd859e76b7ccd78b0
| * Add more system calls to the set that can be overridden in os_unix.c.drh2011-03-02
| |\ | | | | | | | | | | | | Also merge in recent fixes from trunk. FossilOrigin-Name: 80fac2a6e07221bb67613af84ab9dda3e18b5ceb
| * | Proof-of-concept prototype for the proposed xSetSystemCall extension methoddrh2011-03-02
| | | | | | | | | | | | | | | on the VFS. FossilOrigin-Name: 92b5a76abc53290e1bb87b6b55bc64bb1b331dfc
* | | Fix two compiler warnings. No functional code changes.drh2011-03-08
| | | | | | | | | FossilOrigin-Name: c829868aa2254c5e2268cdb803462cc6ec5cb71e
* | | Fix additional cases of possible signed integer overflow, especially withdrh2011-03-08
| | | | | | | | | | | | | | | regard to negation. FossilOrigin-Name: 2d5800bd8cfc7d7f5578a71b1aeaa74b2ec4b372
* | | Another minor simplification brought to light by clang.drh2011-03-06
| | | | | | | | | FossilOrigin-Name: 3bfbf026dd6a0eeef07f8f5f1ebf74c9cfebcd61
* | | Remove dead code identified by the clang static analyzer.drh2011-03-06
| | | | | | | | | FossilOrigin-Name: 01a79d5a7af48fb7e50291c0c7c6283d3fb359d0
* | | Simplifications to the overflow-free multiplier. Also remove some commented-outdrh2011-03-05
| | | | | | | | | | | | | | | code that was left in that subroutine by mistake on the previous check-in. FossilOrigin-Name: 55fc25fdab61e6094289e068c343e012fec10439
* | | Fix all known instances of signed-integer overflow. Within SQL expressions,drh2011-03-05
| | | | | | | | | | | | | | | | | | | | | integer overflow now forces coercion to floating point. The shift operators work with any integer right-hand operand with negative values reversing the direction of the shift. FossilOrigin-Name: abf21394124a0af46f072793718964cee2ce55d0
* | | Fix an instance of signed arithmetic overflow and an one bit-shift overflow.drh2011-03-05
| | | | | | | | | | | | | | | Mark six other signed arithmetic overflow locations that need fixing. FossilOrigin-Name: 04abab71ecd52f6070b9f84781a3df3d6dba7722
* | | Do a better job of choosing the join table order when the tables havingdrh2011-03-04
| |/ |/| | | | | | | very different numbers of rows. FossilOrigin-Name: 952f5e8c69904c48f2decfabf8ea60a2e9f3e134
* | Fix bugs in [7b6e30e6a7] that only show up on Mac.drh2011-03-02
|/ | | FossilOrigin-Name: ec55e8c6bb4f2419b3813aa2fd1a20d8f5016159
* Log all error from close() in os_unix.c to sqlite3_log() but do not attempt todrh2011-03-02
| | | | | | report errors back up to the application. Update the unix error logging to put the most important information earlier in the message. FossilOrigin-Name: 7b6e30e6a712311d4ef275253b085b85e6e17116
* Comment out some code in os_unix.c that only runs on MacOSX withdrh2011-02-25
| | | | | SQLITE_ENABLE_LOCKING_STYLE. FossilOrigin-Name: 4e50b0362ab6604a4b6c9f4ad849ec1733d6ce1a
* Fix a typo in a comment. No changes to code.drh2011-02-24
| | | FossilOrigin-Name: af4756184a255f5d8a5cd276bf9f2fc3b38d9169
* Reserve a range of bits in the SQLITE_OPEN_xxxx bit vector for futuredrh2011-02-23
| | | | | expansion. FossilOrigin-Name: 9b9046546db5b060e37e7ba01c23bb7e9528d861
* Fix a typo in the robust_flock() macro for systems without EINTR.drh2011-02-23
| | | FossilOrigin-Name: af9ba2a6d2c37915e799eec52bb827de46afd34d
* Retry selected system calls on unix when they fail with EINTR.drh2011-02-23
| | | FossilOrigin-Name: b9d29ea385bafcf87c7dd07822ce9ec3d3892bd1
* When a stale schema-cookie is seen, expire only the one statement thatdrh2011-02-22
| | | | | | encountered the bad cookie, not every statement on the database connection. Ticket [b72787b1a7cea1f] FossilOrigin-Name: 1bca0a7e198391202fd2bc1650c0a62028a9aaa5
* Fix a problem with "EXPLAIN QUERY PLAN SELECT count(*) FROM tbl".dan2011-02-21
| | | FossilOrigin-Name: 9f9f32882501ac9b6e60f81195a64bdbf6e4497b
* Have os_unix.c call sqlite3_log() following errors in certain system calls.dan2011-02-21
| | | FossilOrigin-Name: 01076528a43b61ae20ef6969b7d326de9b5313e4