aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
Commit message (Collapse)AuthorAge
...
| * | Fix compilation issues with MSVC related to C99.mistachkin2020-12-09
| |/ | | | | FossilOrigin-Name: c0de6c1fb2c486be1da01e5e4ca8c5634ba37822e418d57f272e018c3e3fc0a2
* / Better integrate the changes on this branch with OP_Insert and OP_IdxInsert.dan2020-12-10
|/ | | FossilOrigin-Name: 101cef14910d6e865a94bc870aed599321b893188062a9a61d70a9434992cf23
* Begin adding new SQL functions that depend on -lm: ceil(), ceiling(),drh2020-12-07
| | | | | floor(), ln(), log(), and log10() so far. More to follow. FossilOrigin-Name: 4db5f2f7875f6df78630a7816fc018141a6eee2e295b44fc7627eb66d07881ea
* Alternative implementation of ".selecttrace" and ".wheretrace" that usesdrh2020-12-04
| | | | | a test-control rather than global variables. FossilOrigin-Name: d36d6f2923a2393c751c0ac7634433453be20df7567fd914e57cbb1ae15f68b2
* Sometimes it makes sense to do a full table scan rather than try to usedrh2020-10-22
| | | | | | an index when most of the rows will be selected. This branch is trying to tune the query planner to make that happen more often. FossilOrigin-Name: 0f42099ad65855c94af8472f3a6fddac7fc2a82e8fdfcc06a298eb6683a28688
* DISTINCT may not be ignored inside a UNION ALL common table expression.drh2020-09-17
| | | | | Fix for ticket [c51489c3b8f919c5] FossilOrigin-Name: 7d2b590d3abd66a7e6ae9046198eb669e0fd2f223f7691281e9ad795a12b8903
* Include the original text of the CHECK constraint in the error message fordrh2020-08-27
| | | | | anonymous CHECK constraints. FossilOrigin-Name: 5ce34a955bb36d77edc9951cb7ac2ef9c876d7d3ff5852af682f558e248f428c
* Do not skip over TK_IF_NULL_ROW operators when bypassing TK_COLLATE operators.drh2020-08-19
| | | | | | Fix to check-in [ac31edd3eeafcef4] which was itself a fix for ticket [45f4bf4eb4ffd788]. FossilOrigin-Name: 871f2ddcfbb9196dbd851a350e3471ee6d242d86bbd755201f7e2406fce3ac55
* For UPDATE and DELETE, use OP_DeferredSeek always. If the seek must laterdrh2020-08-14
| | | | | | | | | be resolved, add the OP_FinishSeek opcode after all WHERE clause terms have been processed. This obviates the need for the WHERE_SEEK_TABLE and WHERE_SEEK_UNIQ_TABLE flags to sqlite3WhereBegin() and the ensuing complication, and it allows the covering index optimization to be used further into WHERE clause processing. FossilOrigin-Name: a495f60d315e34b1a1bc5fb1336e05047add52c8fb2710b577c97b10a5e734f6
* Remove an unused #define from sqliteInt.h.drh2020-08-11
| | | FossilOrigin-Name: d5b254f94c1ce6f0f26024d0b9c80e610f7cc891360bc4c2cb116e9eda2874b3
* Simplify #ifdefs associated with Parse.eParseMode. Fix an #ifdef errordrh2020-08-10
| | | | | associated with SQLITE_OMIT_AUTOVACUUM. FossilOrigin-Name: 5bbd4bddd3b9fa64d134ed62bce3eb4a09456bf24dec2474b5d764a3a3775964
* Fix harmless compiler warnings that surface in newer versions of GCC.drh2020-08-10
| | | FossilOrigin-Name: 9d670a318381f219b467653f5f9539097808b887ae37291ce13be462dedfb18d
* Change the name of sqlite3SelectTrace to sqlite3_unsupported_selecttrace.dan2020-08-08
| | | FossilOrigin-Name: 5ecd03a27b81637ec92af654451a8fff46f1768ddb7c7a443d2a4a933b4475c1
* When parsing the schema, detect out-of-bounds rootpage values and throw andrh2020-07-22
| | | | | error. FossilOrigin-Name: 6c3a2727dc912ed800146e07db5d15d0f3468d13701165ba763c4b114c3e18e8
* Continuing work toward supporting unsigned 32-bit page numbers.drh2020-07-22
| | | FossilOrigin-Name: 9ce1710aad43cebe5ad50859c7685fb83e40cdd4a60913bd2b7e659bc59942fd
* Merge fixes from trunk.drh2020-07-22
|\ | | | | FossilOrigin-Name: d2aac001204621062e6cb3230ce2ac1b4545cb83b3ebb6bfebccee4d51162e97
| * Add the sqlite3Int64ToText() routine and use it to convert integers to text,drh2020-07-21
| | | | | | | | | | as it is much faster than the generic text formatter. FossilOrigin-Name: 14eed318aa9e6e16d1aa13a9f34e3822aa135c39ba06c77df7743509fed6c95e
* | Initial changes to allow database up to 281TB in size.drh2020-07-20
|/ | | FossilOrigin-Name: 9cb7da9bdb666ea40771513b89591dca275f1e92092b39190df747e3797178a3
* Make it an error to repeat the target object/alias of an UPDATE statement in ↵dan2020-07-17
| | | | | its FROM clause. FossilOrigin-Name: d90a37e930c66afe95165955ae47efde08f52c8ce16c4fb239da0233335db050
* Fix a problem in SQLITE_ENABLE_HIDDEN_COLUMN builds occuring when an ↵dan2020-07-15
| | | | | UPDATE...FROM fired an INSTEAD OF trigger. FossilOrigin-Name: 5176cb7a6a4e8cfa1973aaae46fcd7d39baedb70ae20bfacc82d62ca39fb0aa3
* Support UPDATE...FROM statements in trigger programs.dan2020-07-14
| | | FossilOrigin-Name: 4f6d8d0ebf40029218a1d3b05ea657c0c5953b01c6f0b6a628465aa44c67e7f3
* Merge latest trunk changes with this branch.dan2020-07-13
|\ | | | | FossilOrigin-Name: 5ee3c27e20d12a126fb773b428bb864102b949a5b26a8d5c523753dcedf4be10
| * Remove unnecessary code from the window functions implementation.drh2020-07-10
| | | | | | FossilOrigin-Name: 1e87da9c93309d1d69b1e0ab65c615b9ff9c1c6813ad0c7b90d2495be4ba0adc
| * Increase the resolution of the vdbe opcode counters to 64 bits, asdrh2020-07-06
| | | | | | | | | | | | | | apparently some users run single prepared statements that go for longer than 4 billion instructions. See forum post "[https://sqlite.org/forum/forumpost/d07949dc94|Possible freeze in the progress loop]" FossilOrigin-Name: 612eb590ea44fd402e630f2d62558beb7ce57d7d0ba113c8b72ea60a895c5a43
| * Refactoring various names. No changes in the resulting machine code.drh2020-06-19
| | | | | | FossilOrigin-Name: 7bb08b1bfcf184e4b59c8c9028926a0052612ff6a6731914ccdb8dee07ea4a98
| * Provide "sqlite_schema" as an alternative name to the table that holds thedrh2020-06-15
| | | | | | | | | | database schema. FossilOrigin-Name: 61782a7ae3c25cf59d7a676cb295eb024d17c46e532ae78c6fe871a91d712fa9
| * Fix a defect in the query-flattener optimization identified bydrh2020-06-15
| | | | | | | | | | ticket [8f157e8010b22af0]. FossilOrigin-Name: 10fa79d00f8091e5748c245f4cae5b5f499a5f8db20da741c130e05a21ede443
| * Provide the ability to use the SELECTTRACE() debugging macro outside of thedrh2020-06-11
| | | | | | | | | | | | select.c source file. Use this to add a new SELECTTRACE() entry in window.c for improved tracing of window-function parse-tree rewriting. FossilOrigin-Name: 30c6d895b573d5f2a53487b3b7a0d20be7e382c7a0bc87336bd43fbd2fa89bf4
| * Give the expression pointer fields of AggInfo distinctive names in order todrh2020-06-09
| | | | | | | | | | simplify tracking of all their uses. FossilOrigin-Name: a53bdd311c4154fd5e1131efbb9665362f79db5a35ce9f7b1547f74b8ee2d8ba
| * Improved tree-view debugging output for aggregate functions.drh2020-06-09
| | | | | | FossilOrigin-Name: b5711b4eead10ef4b0b61f2e2c54768d215a4105f6d47d2ea78991b6e53a6831
| * AggInfo objects might be referenced even after the sqlite3Select() functiondrh2020-06-07
| | | | | | | | | | | | that created them has exited. So AggInfo cannot be a stack variable. And it must not be freed until the Parse object is destroyed. FossilOrigin-Name: 3c840b4df306e2db1da08673e9ede973b4cb6d2b3f9eeeab5835e39452ee3056
| * Alternative fix to ticket [c8d3b9f0a750a529]: Prior to deleting or modifyingdrh2020-06-07
| | | | | | | | | | | | an Expr not that is referenced by an AggInfo, modify the AggInfo to get its own copy of the original Expr. FossilOrigin-Name: 7682d8a768fbccfe0cc956e9f6481637146e1ab9763b248ff11052761ce32e32
| * Use __has_extension(c_atomic) instead of __has_feature(c_atomic) to detect ↵dan2020-06-04
| | | | | | | | | | support for atomic load and store operations with clang. FossilOrigin-Name: 362255791f8801e0d9869e36239b8b2cb29c38bf0b86894bd2d159ce46d8447e
| * Move some utility Walker callbacks into the walker.c source file, as theydrh2020-05-24
| | | | | | | | | | seem to belong there better. FossilOrigin-Name: dac438236f7c5419d4e7e094e8b3f19f83cd3b1a18bc8acb14aee90d4514fa3c
| * Minor fix to a comment. No code changes.drh2020-05-24
| | | | | | FossilOrigin-Name: efdbb2b499bda8ffcfe54f5d6ece08a2c58fe7a490d9550785d806bd404abb8c
| * Do not allow a virtual table to be renamed into the name of one of itsdrh2020-05-14
| | | | | | | | | | shadows. FossilOrigin-Name: eca0ba2cf4c0fdf757bae19c6397a48245adb99e8017ddc28f01804072a30b2c
| * Implement the IIF(x,y,z) SQL function that is short-hand fordrh2020-05-13
| | | | | | | | | | "CASE WHEN x THEN y ELSE z END". For compatibility with SQL Server. FossilOrigin-Name: fce173cd211b15867369b6a54fad48168352fc83981a722ce98e57299b88608a
| * Remove unused constant SQLITE_FUNC_COALESCE.drh2020-05-13
| | | | | | FossilOrigin-Name: a116b20f863e9732cd08fbfbb1aa48204a17d611c9c1edde85dcf59310bde782
| * Fix harmless compiler warnings.drh2020-05-06
| | | | | | FossilOrigin-Name: 92dc59132f8547635d73c61c21ea29b380c401ddc84a6d01412808e00386b9e8
| * Changes to avoid deadlock in SQLITE_ENABLE_SETLK_TIMEOUT builds.dan2020-05-04
| | | | | | FossilOrigin-Name: 553423c23142cf0ec219192315d57ce8a0e10c3d8678d28bc110a1a9a7c17cee
| * Merge trunk enhancements into the approximate-analyze branch.drh2020-04-09
| |\ | | | | | | FossilOrigin-Name: 17901ea6a1951b8c55671408841901c6660e3f8099378204f080b171a684d718
| * | Add "PRAGMA analysis_limit=N;" to limit the number of rows visited bydrh2020-03-31
| | | | | | | | | | | | | | | ANALYZE when N is positive. Positive N also disables collecting stat4. FossilOrigin-Name: a279b151c1623807774daf4975175c62ea252eefb71f9820ced6773769b392c5
* | | Fix problems with using LIMIT and FROM clauses as part of single UPDATE ↵dan2020-04-29
| | | | | | | | | | | | | | | statement. FossilOrigin-Name: b717dc3c5fafb9b86a141e7ecffc030fd9b36aa57a0b3e5200d64ad23a0aa13d
* | | Fix various bugs in new feature on this branch.dan2020-04-29
| | | | | | | | | FossilOrigin-Name: 823ba94e29dece1687e28711e503a1f56d392c306b0cbc0a20548180834530d1
* | | Allow a FROM clause in UPDATE statements.dan2020-04-27
| |/ |/| | | FossilOrigin-Name: f353a1a613bb7ad8cedcda377a7fe6fd05ee03b1f50665b00b84a868a71c5bec
* | Performance improvement for column name lookup.drh2020-04-06
|/ | | FossilOrigin-Name: 1e4b6a93987cdfbf829e2ff35ef417c290625f2894ad11949e301af518f1fb44
* Use __atomic_load_n() and __atomic_store_n() for a few more things where ↵dan2020-03-30
| | | | | they are available. FossilOrigin-Name: a49f8ec552bede7da731e0571ccf49de1a30e7be3a5673150436c8b411ba6ffc
* Fix to the recomputation of the colUsed field added by check-indrh2020-03-21
| | | | | [a9bb71ba708ba722]. This fixes ticket [5829597ac43811e3]. FossilOrigin-Name: 5d14a1c4f2fc17de98ad685ad1422cdfda89dfccb00afcaf32ee416b6f84f525
* Ensure that "main" can always be used to refer to the main database, even if ↵dan2020-03-21
|\ | | | | | | | | it has been renamed using SQLITE_DBCONFIG_MAINDBNAME. FossilOrigin-Name: 682b426f5658254e63dff02c960b557fb33cb3e944fdd14faa0aa9988af7269a
| * Consolidate some code on this branch.dan2020-03-21
| | | | | | FossilOrigin-Name: a85c63daa640e02fdfd891a05a1a09e848c9621a5dd6e112338451008623ecbb