aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Fix the virtual table rename logic so that it works even if the databasedrh2011-10-18
| | | | | | encoding is something other than UTF8. Ticket [8290242b2a9a81683] FossilOrigin-Name: d65f63531c3f8e3e55e656f049240714a3d7433f
* Fix an uninitialized variable in OR-clause processing.drh2011-10-18
| | | FossilOrigin-Name: 54aecd929867606d14a062b501abbfb6f5f05e37
* Improved handling of USING and NATURAL JOIN in 3-way and higher joins.drh2011-10-18
| | | | | Ticket [3338b3fa19ac4ab] FossilOrigin-Name: 551ce407bd77149865423511bd52eba2f404161a
* Change the OP_JournalMode implementation so that it works even if adrh2011-10-17
| | | | | substitute sqlite3PagerFilename() that might return NULL is used. FossilOrigin-Name: 491ff5fb2504173d6905e38b8ea35737338aaa84
* Avoid 32-bit integer overflow when evaluating the exponent of a floating pointdrh2011-10-17
| | | | | value during ascii to binary conversion. FossilOrigin-Name: 4becc47eb4d48686faca4f61e93e5f379b227fcc
* Performance improvement for ascii to floating-point conversions with verydrh2011-10-17
| | | | | large exponents. FossilOrigin-Name: 59bb999c8ba5e4ee7a4e388fc724b8606136d60c
* Added the tool/warnings-clang.sh script. Changes so that there are nodrh2011-10-15
| | | | | | warnings with either gcc or clang even including FTS4 and RTREE and both with and without SQLITE_THREADSAFE=0. FossilOrigin-Name: 39408702a989f907261c298bf0947f3e68bd10fe
* Add assert() statements and eliminate needless variable assignments in orderdrh2011-10-14
| | | | | | | to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. FossilOrigin-Name: 60fee9574b0125705787e33c16f116cf188c8323
* Simplifications to the upper() and lower() SQL functions.drh2011-10-13
| | | | | | | | Updates to documentation on sqlite3_bind_text() and sqlite3_result_text() to make it clear that users should not try to create strings with embedded NULs and that if they do the result of expression on those strings is undefined. Ticket [57c971fc74524a] FossilOrigin-Name: 9984cc20ca70b7fb39c0b99580a1317a7b0c9c85
* An improved fix for the page_count and quick_check problem previouslydrh2011-10-13
| | | | | patched at [150592b4b4d8637] FossilOrigin-Name: c3cb7f4fad725d5fa4d5acd9da63fc4538ce8e13
* Provide a complete prototype for isatty() in the command-line shell sources.drh2011-10-13
| | | FossilOrigin-Name: 8bf13b036a77af9984f8f3d3a93da589fafd773f
* Change the command-line shell to do the ".dump" inside of a SAVEPOINTdrh2011-10-13
| | | | | | rather than a transaction, since this allows it to be run from within a transaction. FossilOrigin-Name: 6df7343b4c3de9ad8221180dc959dbbdf54733c7
* Enable large-file support for fopen() and friends in the command-line shell.drh2011-10-13
| | | | | Ticket [92af7da36b6fbd] FossilOrigin-Name: eeeba4f0d2207ec26c60a405e2705e5d40022dbb
* Make sure the query optimizer for aggregate queries knows that expressionsdrh2011-10-13
| | | | | (x='a') and (x='A') are different. Ticket [fa7bf5ec94801e7e] FossilOrigin-Name: e43da426e66e6b63d5ed9610a6308aba0089313b
* Make sure the page_count and quick_check pragmas work properly even whendrh2011-10-13
| | | | | their names are capitalized. Fixes a problem reported on the mailing list. FossilOrigin-Name: 150592b4b4d86372e70332d4f69e41a04c4c54c3
* Make sure all non-API functions in os_win.c have file scope.drh2011-10-13
| | | | | Ticket [35c54c874987] FossilOrigin-Name: 17e4fde5c541f1bba723386938b6123b2431bffc
* Do the ".dump" command inside of a transaction to prevent other processesdrh2011-10-13
| | | | | | from modifying the database while the dump is underway. Ticket [2466653295e65] FossilOrigin-Name: 1c00d5454c85dfddb6c628c3742b4ddeaad6423a
* Fix a harmless compiler warning introduced into os_unix.c by one of the drh2011-10-13
| | | | | recent changes. FossilOrigin-Name: 4bf4d5ebfbf5d157a8bf3a3817e2ce350f25af0e
* If errors are encountered while processing the ".dump" command in thedrh2011-10-13
| | | | | | | command-line shell, print error messages as comments in the output and ROLLBACK at the end rather than committing. Ticket [ee19e690ec9a5a2] FossilOrigin-Name: 8a8dcd6bd043d82dc04b6ad0614c64d20ace8e5f
* Be sure to allocate plenty of space for error messages coming out ofdrh2011-10-13
| | | | | | sqlite3_load_extension(), so that filenames and procedure names are not truncated. Ticket [7d32c69b50f89d] FossilOrigin-Name: af8bcdd951c31f69966942d67833da30f6b121bf
* The sqlite3_overload_function() interface returns an error if it is unabledrh2011-10-12
| | | | | to create the overload function. Ticket [20f9d4fbbff3a3] FossilOrigin-Name: d5b6b374c5225d21c386fb3d6507d3938296e759
* The date/time functions return NULL if the xCurrentTime ordrh2011-10-12
| | | | | | xCurrentTimeInt64 VFS methods fail. Ticket [0b803bff856c644c] FossilOrigin-Name: c96651dd6ceadd51c9e1f4d942177d3c128c47b4
* Suppress a compiler warning that occurs with SQLITE_OMIT_VIRTUALTABLE.drh2011-10-12
| | | FossilOrigin-Name: 6bedb49d68f2960a6fc4701d02e177789abf9099
* Clean up obsolete comments in printf.c.drh2011-10-12
| | | FossilOrigin-Name: 97ef4f5013731fa3a0f72451b7e8c9aec5523104
* Clarify a comment and fix a code formatting issue in btree.c.drh2011-10-12
| | | FossilOrigin-Name: 4f1a558d0013fbf3fe00bdf5883e61a1f3779831
* Put in code to defend against signed/unsigned character problemsdrh2011-10-11
| | | | | in the command-line shell. FossilOrigin-Name: b94a80a832777f0e639f6a81fcfe169bf970a8c0
* Add a couple of asserts trying to make the operation of drh2011-10-11
| | | | | sqlite3SelectNew() clearer. FossilOrigin-Name: b21b1c7bc490b193da8d8a277489eb875a507e30
* Change the behavior of the readonly_shm=1 query parameter so that it neverdrh2011-10-11
| | | | | attempts to open the -shm file read/write. FossilOrigin-Name: f1364004836078378e4005ab3eb9c0a04e3d4ce7
* Remove all precision and width limits from formatting fields in thedrh2011-10-11
| | | | | | sqlite3_mprintf() family of functions. Malloc for space as necessary. The prevents a stack overflow on very large numbers using %f. FossilOrigin-Name: 1f843fb383583ee7ef51c13b8a820744e450101a
* Fix requirements marks associate with STAT3.drh2011-10-11
| | | FossilOrigin-Name: 9325c1a8c413dfbf0381190d8347f0a446ae5f5b
* Fix a typo in a comment for PRAGMA journal_mode. Also amplify that samedrh2011-10-10
| | | | | comment. FossilOrigin-Name: c8ff2a484005ca48c52407db9f4a9a7d9f747158
* Add the SQLITE_DIRECT_OVERFLOW_READ compile time option.dan2011-10-08
| | | FossilOrigin-Name: 2ab14a846727857175eac7961b7338c4d3b417ca
* Change the ANALYZE command so that it no longer tried to delete unuseddrh2011-10-07
| | | | | | sqlite_stat2 and sqlite_stat3 tables. Change the DROP TABLE command so that it is able to drop those tables. FossilOrigin-Name: 589f3f5652e3674d3203f8bd32784a46b5ed530c
* Make sure sqlite3_data_count() behaves as documented, even fordrh2011-10-07
| | | | | EXPLAIN QUERY PLAN queries. FossilOrigin-Name: d4f95b3b6e9f4a4072606af5daa17ea7c645382e
* Improved handling of OR terms in the WHERE clause with multi-column indexes.drh2011-10-07
|\ | | | | FossilOrigin-Name: b23ae131874bc5c621f0f5ea8d76fce1ec089cc2
| * Add testcase() macros to ensure good test coverage.drh2011-10-07
| | | | | | FossilOrigin-Name: 5c132592820e9dc2355e26ea14e155c797c335b3
| * Prevent infinite recursion of in the query planner for some pathologicaldrh2011-10-07
| | | | | | | | | | test cases by disabling OR-clause processing upon first recursion. FossilOrigin-Name: 9fca05eac503d712886a05d03794f76c61fb39ed
| * Begin an effort to enhance the query planner to do a better job with OR termsdrh2011-10-07
| | | | | | | | | | | | in the WHERE clause. This change allows ANDs outside of the OR to be factored into the OR terms if that is helpful in finding better indices. FossilOrigin-Name: 876bd21aaac444c7e056730e35696a74e9a1af0a
* | Add the SQLITE_FCNTL_OVERWRITE file-control. Used by SQLite to indicate to ↵dan2011-10-07
|/ | | | | the OS layer that the current transaction will overwrite the entire file. FossilOrigin-Name: 1da87fcdacfa7d277c3ee98e410a9ea8b529c368
* Enhance the sqlite3_data_count() routine so that it can be used to determinedrh2011-10-07
| | | | | if SQLITE_DONE has been seen on the prepared statement. FossilOrigin-Name: 9913996e7b0f94ba1c51200b61433193002f3638
* Fix test code related to reporting the size of overflow pages in zipvfs ↵dan2011-10-05
| | | | | databases. FossilOrigin-Name: ad7c9eed8bbd607babce4f5965f587c873e7bc02
* When finding the appropriate file permissions for journal files withdrh2011-10-05
| | | | | | SQLITE_ENABLE_8_3_NAMES, ignore "-" characters in the name of the containing directory. FossilOrigin-Name: 328cc1867ffbbf1c953dfd843649f5f209c8e6ec
* Merge the STAT3 changes into trunk.drh2011-10-03
|\ | | | | FossilOrigin-Name: 774d0842bcce8862f2aac371f1689536ed234a0a
| * If an open as read/write fails, do not try to reopen as read-only if indrh2011-09-25
| | | | | | | | | | exclusive access mode. FossilOrigin-Name: 4a153f010037db83107314269b240c0ece8430f8
| * Merge the latest trunk changes into the stat3-trunk branch.drh2011-09-23
| |\ | | | | | | FossilOrigin-Name: 0beb88a92c8f75231df120bef54616c7e4bb68c8
| * | Testability enhancements.drh2011-09-23
| | | | | | | | | FossilOrigin-Name: be44928cf2a3c063c8228b769d90947acbfad1ef
| * | Fix typos in the format description comment of analyze.c.drh2011-09-23
| | | | | | | | | FossilOrigin-Name: 74e27fad339a2d7899c1f42805e615128929f07a
| * | Remove the restriction on the number of entries per index in sqlite_stat3.drh2011-09-22
| | | | | | | | | FossilOrigin-Name: 374343c8ad53829c4ad715ed623d16635797de9a
| * | Fix an issue in ANALYZE when STAT3 is disabled but both sqlite_stat2 anddrh2011-09-22
| | | | | | | | | | | | | | | sqlite_stat3 tables exist. Also add testability tweaks to the STAT3 code. FossilOrigin-Name: 3ca7e449e2e20d95e516cf7fe87bfa0b51c07086
| * | Fix an uninitialized variable and a misuse of memcpy().drh2011-09-22
| | | | | | | | | FossilOrigin-Name: ee110d5a4a6f29400bb632a9a18c7dcd04638657