aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | Replace the sqlite3_memdb_ptr() interface with the more generaldrh2018-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | sqlite3_serialize() interface. FossilOrigin-Name: 8cf2ed4eff6d2e0958656e23384b05ead2128b678b0b69a591878af4190cd077
* | | | | Simplify the "sqlite3" command in the TCL interface. The filename is nowdrh2018-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | optional. There is a new --memdb option with an argument that is the blob to which the database content should be initialized. FossilOrigin-Name: 47398ae77236a92f6b9345aa397361b6df127a9a2895c0771d506b0be10822b9
* | | | | Add support for the "memdb" VFS and the sqlite3_memdb_ptr() anddrh2018-01-03
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | sqlite3_memdb_config() interfaces, to enable an SQLite database to be manipulated as an in-memory object. FossilOrigin-Name: fb2ac2d2fa6374084f3325b41b257c7a3ace43aade4b666ec4be93b6b70dc39a
* | | | Fix code indentation. No logic changes.drh2018-01-02
| | | | | | | | | | | | FossilOrigin-Name: e115f2583499df0c7ee991d372bed4b89aa717b10a4e4b10977864390cb4fc11
* | | | In the constraint resolution logic, be careful not to cache column values drh2018-01-02
| | | | | | | | | | | | | | | | | | | | | | | | in registers whose initialization might be bypassed by an OP_NoConflict opcode. Fix for ticket [dc3f932f5a147771] reported by OSSFuzz. FossilOrigin-Name: 2846458af5d029a8e4fdcc8f50873a44e57897bbfe6aee8a23a01ffc34c5579f
* | | | Updates to the sqlite3_file_control() documentation. No changes to code.drh2018-01-02
| | | | | | | | | | | | FossilOrigin-Name: 240e32ab1f2a18e3c9b92f577b1cc8f8ecb4c68c44eac863d859491e042cb72a
* | | | Do not attempt to use pragma_module_list in the command-line shell unless drh2018-01-02
| | | | | | | | | | | | | | | | | | | | it has been compiled with -DSQLITE_INTROSPECTION_PRAGMAS. FossilOrigin-Name: 39ca5fcd31c902cbade4da05125b0dbf2bc5e2b8901af1645f113c9d3dbc8209
* | | | The ".schema" command in the command-line shell now shows the structure ofdrh2018-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | table-valued functions and eponymous virtual tables if they are named on the ".schema" command line. Example: ".schema sql%" shows the structure of the "sqlite_dbstat" and "sqlite_stmt" virtual tables. FossilOrigin-Name: f80f6651df0b2843c6c9619a8f3e05c56cd50363402800a2e166e6eb664f7768
* | | | Improved name quoting and escaping in the auxiliary column info sectiondrh2018-01-01
| | | | | | | | | | | | | | | | | | | | of the ".schema" output for views and virtual tables. FossilOrigin-Name: d64b14e37d9624bf5d86059ddd091170d8e6d341a8043f84548b9b3dbb96a908
* | | | In the output of ".schema", show the column names of virtual tables anddrh2018-01-01
| | | | | | | | | | | | | | | | | | | | views in a separate comment. FossilOrigin-Name: 2234a87fa905312b23f46d52e06cff7cacbf23b187e16c4398a42e6bdae0ee9f
* | | | Minor simplification to the ".schema" logic in the command-line shell.drh2018-01-01
| | | | | | | | | | | | FossilOrigin-Name: add45c47288248ca3745e0fceb5e0d9062a852d173d93ff2ff1a0f8fdf3237dc
* | | | Add support for the sqlite_unsupported_offset() SQL function if and onlydrh2017-12-29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | if compiled using -DSQLITE_ENABLE_OFFSET_SQL_FUNC. Use that definition when compiling the command-line shell. FossilOrigin-Name: 4f1f1f521ae6da96b899e10bfeff6bc1ab7a45de0705076febaae20b441f48c6
| * | | | Change the function name to sqlite_unsupported_offset(X). Only enable thedrh2017-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function if compiled with -DSQLITE_ENABLE_OFFSET_SQL_FUNC. The makefiles add that definition to shell builds. FossilOrigin-Name: 7a7f826e324b1a2c332e2f1d0740fd0babffcaca6275a798572f02ad367b99ab
| * | | | Enhance location(X) so that it works with indexes and WITHOUT ROWID tables.drh2017-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function might return an offset to the main table or to an index, depending on whether the column X would be loaded from the main table or from the index. FossilOrigin-Name: dd94d6a880dfec4bddd247239b815b84964f804d24841e25f33f1d46a4b5274d
| * | | | Merge recent enhancements from trunk.drh2017-12-29
| |\ \ \ \ | |/ / / / |/| | | | FossilOrigin-Name: 6251e438f2a76170fd1e95aa512a46086ed88ab93b9b97a1dba97c4558689305
* | | | | Omit all sqlite3_trace() output from the triggers associated withdrh2017-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | foreign key constraints. FossilOrigin-Name: fda08e3d10cc850664a356efdafcfc68187053849e1b00991b0b35d892a6776b
* | | | | Show the text of individual statements within a trigger, as theydrh2017-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | execute, as comments in the output from sqlite3_trace() and sqlite3_trace_v2(). FossilOrigin-Name: fe3d2b97d8945e6a9636472f77bcdc92cc5dda8b3e6e3a4fcbdd0a212ea5b9aa
* | | | | Add and use the internal sqlite3DbSpanDup() interface.drh2017-12-27
| | | | | | | | | | | | | | | FossilOrigin-Name: a8e1545cb7aacb6a26a8c92a3ad4a3d584d150c3a00d2828c8adbb1ee19fcb6d
* | | | | Merge recent enhancements from trunk.drh2017-12-27
|\ \ \ \ \ | | | | | | | | | | | | FossilOrigin-Name: 76373091354f27577e5235e96cfaa4b31429a38d1e0e1d6e094c4cc323b92a0a
| * \ \ \ \ Merge bug fixes from trunk.drh2017-12-26
| |\ \ \ \ \ | | | | | | | | | | | | | | FossilOrigin-Name: d76e12066fa6950f877cbe33b1892e2b0afa948978815d5b9a90cde1fff8ec98
| | * | | | | Faster and smaller implementation of sqlite3AtoF() based on a suggestiondrh2017-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from Cezary H. Noweta. FossilOrigin-Name: fd2e0e7a770c2ce9355068aad1024c3d2861c104fd3be304a91c55ca742155fa
| | * | | | | Fix an assertion fault on a syntax error input caused by check-indrh2017-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [6b2ff26c25bb9da3]. Problem discovered by OSSFuzz. FossilOrigin-Name: 90d6e4f10d3055a776d24854c442a2a68e726af8fc382cdb6241a834082e4c4c
| | * | | | | Fix a NULL pointer dereference after a syntax error that can occur as adrh2017-12-24
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | result of check-in [6b2ff26c25bb9da3] yesterday. This problem was discovered by the OSSFuzz. FossilOrigin-Name: d49afb8f9804e96662d1e3cadc4c6643908706d848a53d5ed019919c98f2ccba
| * / | | | Add support for measuring and reporting coverage of the parser state machinedrh2017-12-26
| |/ / / / | | | | | | | | | | | | | | | | | | | | using the SQLITE_TESTCTRL_PARSER_COVERAGE test-control. FossilOrigin-Name: 1253a872dbf48656d4efd588ab61223a5ac550d9b2b932249d6ba585276ba573
* | | | | Grammar changes: the sclp non-terminal should always be followed by a scanpt.drh2017-12-24
| | | | | | | | | | | | | | | FossilOrigin-Name: 74a0181fc016fb0b7934188cfcc2ec26c689f0d33cc42453875f4392b7240d3a
* | | | | Remove the ExprSpan object. Instead, keep track of the test of subphrases indrh2017-12-24
|/ / / / | | | | | | | | | | | | | | | | the parse using the "scanpt" non-terminal. FossilOrigin-Name: 3eab7bdc44e0878b83dc86f27058a40c2ffafeacadc566f03693f6dc7e40a504
* | | | Simplification to the error handling logic in the extension loader.drh2017-12-23
| | | | | | | | | | | | FossilOrigin-Name: 07c773148d8db185fa54991df09298b64f4fef28879e6c9395759265e8183977
* | | | Improve the error message that comes back when sqlite3_load_extension()drh2017-12-23
| | | | | | | | | | | | | | | | | | | | fails because the named file exists but is not a valid shared library. FossilOrigin-Name: 05fee1a21ea398f1e4d6f1cf361657eff25ed6cd8f85ab398262dcfd30da57e9
* | | | Move the generation of output column names earlier in the case of adrh2017-12-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CREATE TABLE AS. This is a fix for ticket [3b4450072511e62] and a continuation of check-in [ade7ddf1998190b2b63] that fixes cases of ticket [de3403bf5ae5f72ed6] that were missed previously. FossilOrigin-Name: 6b2ff26c25bb9da344add79c93fb3e49fa034a89b38ef56e08e18d21de61f707
* | | | Add a SELECTTRACE() macro to indicate when column names are assigned todrh2017-12-23
| | | | | | | | | | | | | | | | | | | | | | | | a SELECT statement. This helps with debugging for tickets like [de3403bf5ae5f72e] and [3b4450072511e621]. FossilOrigin-Name: 8f194008c3aaa4ef287200e37bc5278ba9c377a7091ee3f95bad66513226b083
* | | | In the sqlite3TreeViewExprList() routine, show the "AS" alias name for drh2017-12-22
| | | | | | | | | | | | | | | | | | | | each expression in the list, if it exists. FossilOrigin-Name: 5efd854fe21470336ba4140294b6c90ef39af32e103b92c664438d7485c50f9a
* | | | Modify the new sqlite3_vtab_collation() interface so that it takes adrh2017-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pointer to the sqlite3_index_info object passed into xBestIndex rather than an sqlite3 connection pointer, which the xBestIndex method might not have access to. FossilOrigin-Name: 5c1fe6666019147a26480b5db1bf2f474a5d072c234c736f16ed5d2a9a040b3f
* | | | Fix SQLITE_DBCONFIG_TRIGGER_EQP so that it works even if SQLITE_DEBUG isdrh2017-12-21
| | | | | | | | | | | | | | | | | | | | not defined. FossilOrigin-Name: afbbfff72002089fa73b5473cc98360df14288d489e93e667332d6e884ef60da
* | | | Add the ".eqp trigger" option to the ".eqp" command in the command-linedrh2017-12-21
| | | | | | | | | | | | | | | | | | | | shell. Implemented using the new SQLITE_DBCONFIG_TRIGGER_EQP control. FossilOrigin-Name: 2c51644a12a638d89e4f7cc3fd561236ce424f2d4e1db31f1e8388f77add02b8
* | | | Add the ".expert" command to the shell tool's ".help" output.dan2017-12-21
| | | | | | | | | | | | FossilOrigin-Name: fc6193af5d216b4066fbc47e75a7d0538fd5fda40b94ee15e2ff4037ea89221b
* | | | Change the name of SQLITE_DBCONFIG_FULL_EQP to be SQLITE_DBCONFIG_TRIGGER_EQPdrh2017-12-21
| | | | | | | | | | | | | | | | | | | | | | | | (which we can do without breaking compatibility because the former name has not yet appeared in an official release) and streamline its implementation. FossilOrigin-Name: fffc7685d19f78ec322a4e834ad727af20a17e2e1c35680e4b1c4162c4786f60
* | | | Add the SQLITE_DBCONFIG_MAX preprocessor macro which will always be equal todrh2017-12-21
| | | | | | | | | | | | | | | | | | | | the largest SQLITE_DECONFIG value. FossilOrigin-Name: 95d4103348d14f9d4c3fee30bd1d882f717b047b2b92f8fef52bec4878281907
* | | | Add the experimental ".expert" command to the sqlite3.exe shell.drh2017-12-21
|\ \ \ \ | | | | | | | | | | FossilOrigin-Name: 0821bae7afefed98102c81104b4a477e81816bb1f43353c80865411771e3c5a7
| * | | | Experimentally add the SQLite expert functionality to the shell tool.dan2017-12-19
| | | | | | | | | | | | | | | FossilOrigin-Name: 51068dbaeaef13bb80af8126b8c4f3a454dee63de5127d706db50bf789533e60
* | | | | Fix crash in sqlite3_vtab_collation() when called for an IS NOT NULLdan2017-12-19
|/ / / / | | | | | | | | | | | | | | | | constraint. FossilOrigin-Name: ad38d2c4f073705c02c7b38675e8ae86fe4a794d54eb796e7ed51a905824d5f5
| * / / Add an experimental location(X) SQL function that attempt to return thedrh2017-12-16
|/ / / | | | | | | | | | | | | | | | | | | location of the payload within the database for the record that contains column X. location(X) returns NULL if X is not an ordinary table column or if SQLite cannot figure out the location because it is using a covering index. FossilOrigin-Name: 51be9558164301c5dd4df23ab8b3e67de0b522f8d36f79f3d84d45d3dc2a83a4
* | | Merge latest trunk changes into this branch.dan2017-12-16
|\ \ \ | | |/ | |/| FossilOrigin-Name: d5b597b52a1213cdf382d96f4df3535727be0852b25bafd12bbef54da946c5f2
| * | In valueFromExpr() only generate a OOM fault if there have been now priordrh2017-12-13
| | | | | | | | | | | | | | | faults. FossilOrigin-Name: 3765aaf712998af5ffb6bc680a0c1419f2b5deb47ecbc1835ba5879127c4dbe3
| * | An improved way of generating the SQLITE_READONLY_DIRECTORY error.drh2017-12-13
| | | | | | | | | | | | | | | The error message submitted to sqlite3_log() is still correct this way. FossilOrigin-Name: 1c0aa919ee429cd194820ec9c54084563f39e63fd399b23f859fc6703b429b15
| * | New result code SQLITE_READONLY_DIRECTORY is returned when an attempt isdrh2017-12-13
| | | | | | | | | | | | | | | | | | | | | made to write on a database file that is in a read-only directory and hence the journal file could not be created. This situation formerly returned SQLITE_CANTOPEN, which less helpful. FossilOrigin-Name: 3ec73c38f878d73d278fce99ba10c708dcc475835774f1e17769ff7315be6d7c
| * | Correctly invalidate a column cache line when it is overwritten with NULL.drh2017-12-13
| | | | | | | | | | | | | | | Fix for ticket [123c9ba32130a6c9d432]. FossilOrigin-Name: 65754dc3b830ef9482655d2e93c2cd4acaa7a8715a58d8309955d04378541f89
| * | Minor enhancement to two assert() statements in the default VFSes.drh2017-12-13
| | | | | | | | | FossilOrigin-Name: 9cede8a83ca4cd88d504050115e1e89e7b3d3cd3cb2ffb5b8961e311a23ff5e2
| * | Fix a harmless API signature mismatch in the unix VFS.drh2017-12-09
| | | | | | | | | FossilOrigin-Name: bab9de7fdda20a724f7c21ec2c25b488ece08b685f1e4fd15c9e73b6b4a0133a
| * | The query planner tries to avoids using indexes that use unknown collatingdrh2017-12-08
| | | | | | | | | | | | | | | functions. FossilOrigin-Name: 02013fc120bf71a8be3550c696a588af8c92f2209f8e5db530624878ddc8aa7e
| * | Add compile time switch SQLITE_ENABLE_ICU_COLLATIONS. For enabling ICUdan2017-12-08
| | | | | | | | | | | | | | | | | | collations without also enabling the tokenizer, the LIKE operator, the REGEXP operator, or the unicode aware upper()/lower() scalar functions. FossilOrigin-Name: a079f914522d7bc4b3d27d70114eb09adedfac936a64883e6ed8d382c428dd0e