aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* When building an ephemeral table of integers, do not assume that the tabledrh2017-06-17
| | | | | | | does not already contain N if the insert cursor points to N-1. Fix for ticket [61fe9745]. Also increase the version number to 3.18.2. This is the release candidate. FossilOrigin-Name: e1b71029087675749a5c64303a8756d16cb33ed3ac2e8d3b075051f575c072fb
* Ensure pointer map entries are always added when a row that does use overflowdrh2017-06-12
| | | | | | pages replaces one that does not in an auto-vacuum database. Fix for [fda22108]. FossilOrigin-Name: 30c50f0e06084f3c4357962ed99e2c803b21ca238d00d70d9dee40164caf2afa
* Add the new sqlite3_set_last_insert_rowid() interface to the extensiondrh2017-03-25
| | | | | loader thunk. FossilOrigin-Name: 8469fc0d48d6af0accef9b8a84e08ad2ca32351907510d177b4ca4815c1ea7cb
* Disable the new --preserve-rowids option on the CLI ".dump" command ifdrh2017-03-25
| | | | | compiled with SQLITE_OMIT_VIRTUALTABLE. FossilOrigin-Name: bd5bbe4eece9051cc8c27d834d22fb243d34f261641984555d02a27b7038d4f6
* Make the default value for SQLITE_DEFAULT_SYNCHRONOUS a simple integerdrh2017-03-25
| | | | | | literal, so that it does not show up goofy in the output of "PRAGMA compile_options;". FossilOrigin-Name: 833ab3212addc340ca8004e8d6a06cc5e51bf256f43dc73d87fbe67518a4891b
* Fix two harmless compiler warnings.drh2017-03-25
| | | FossilOrigin-Name: 32be9c3faaafd736da3f49d475dc9279af4e4ba38070b60033d898345080acf0
* Previous check-in was not correct. This is a better fix for the OP_Oncedrh2017-03-24
| | | | | problem of ticket [06796225f59c057cd120f1]. FossilOrigin-Name: 8194dd2814b0b3f8cffbcb16306f55aabf1c1508b9d27fa806f92f0e6ecd7631
* Fix the OP_Once opcode so that it works correctly for recursive triggers.drh2017-03-24
| | | | | Ticket [06796225f59c057cd120f1]. FossilOrigin-Name: 2556014514f36808e6d18b25722eae0daeeb8fbb5d18af13a9698ea6c6db1679
* Remove an invalid assert() statement failing when VACUUMing a database thatdan2017-03-23
| | | | | contains an index on a column explicitly declared "COLLATE BINARY". FossilOrigin-Name: 9f2e04d3c3526b5ff60d941aa6d5446f602cab37cb93972937f39eefabd6868d
* Fix harmless compiler warnings in the shell.drh2017-03-22
| | | FossilOrigin-Name: a786829783ef65ef270ca360712364cbd47a540d31ed1547d50808aad698bea7
* New simplified memory initialization for MacOS.drh2017-03-21
| | | FossilOrigin-Name: 055b36f1c1593bb123f7319a07c476143d71af052b5b8d34afcd0d500f197882
* Fix an incorrect assert in the ANALYZE logic for STAT4 on WITHOUT ROWIDdrh2017-03-21
| | | | | tables. FossilOrigin-Name: ad741976c8c29bcc94f9ea9ed7deb580bb00c8a81d1a7fba1a4e03849728433d
* Avoid the possibility of signed integer overflow with oversized precisionsdrh2017-03-20
| | | | | in %d conversions in the printf() implementation. FossilOrigin-Name: ef3a7c877a7549b351aafd983cfa96c863eb2641b6218bdd5cb563f659f879d8
* Do not run sync2.test as part of the "journaltest" permutation, as it usesdan2017-03-20
| | | | | "PRAGMA synchronous = off". FossilOrigin-Name: 285005a9bcb210bb2a9aa9fed6a19d4b78641a6e7622d469bd0d2a365b2c0735
* Ensure that a "--" prefix is added to sqlite3_trace_v2() output for nesteddrh2017-03-20
| | | | | SQL statements. FossilOrigin-Name: 673a7b67c4828acaea3baebea500ef1f8ae763588b0d9c9f2ad6ed5ceb3cfee2
* Documentation fix: SQLITE_SOURCE_ID is a now a SHA3-256 hash.drh2017-03-20
| | | FossilOrigin-Name: 2aa22509e7c8a1f09b16e4544c95d0b77503daed1f83106ccc18dee8bd9487a4
* Only do the specialized MacOS single-core zone_malloc initialization ifdrh2017-03-18
| | | | | | compiled with the SQLITE_MIGHT_BE_SINGLE_CORE flag. This avoids a (harmless) warning about OSAtomicCompareAndSwapPtrBarrier() being deprecated. FossilOrigin-Name: 4e6a03d9e12b120d15946b025f97a97697cb8e8af543c238ffda220c9e3f28f4
* Fix an error in the newly revised documentation for SQLITE_LIMIT_VDBE_OP.drh2017-03-17
| | | | | No changes to code. FossilOrigin-Name: f4cf8635e6fec6f04075cc067aaa71abc4f71739068e0ad2c44609dcb8691009
* Begin enforcing the SQLITE_LIMIT_VDBE_OP. The documentation warned that thisdrh2017-03-17
| | | | | day might come. FossilOrigin-Name: ef5914617088cbf89bfae88f63ea959a07f02dff387ddc2b43948ad99c6a97b8
* Fix a buffer overread in debugging routine sqlite3VdbeMemPrettyPrint().dan2017-03-17
| | | | | Problem discovered by OSS-Fuzz. FossilOrigin-Name: f336fba7d7d41b91a5000d01dddf785821fa79ea31dbd8d1f769d55f7e871896
* Fix a problem in the enhanced PRAGMA integrity_check where it verifiesdrh2017-03-17
| | | | | | CHECK constraints: Do not be confused by the reuse of the Table.pCheck field by VIEWs with named columns. Problem discovered by OSS-Fuzz. FossilOrigin-Name: 019dd3d5ba4a596c4ec3b5f0de8402c72196af0faca9138edbc0f1f4957cae60
* Fix a typo causing the build to fail if ↵dan2017-03-16
| | | | | SQLITE_DEFAULT_SYNCHRONOUS==SQLITE_DEFAULT_WAL_SYNCHRONOUS. FossilOrigin-Name: df39adeaa4d73a3d4ec831843b8ec7fd449f8b2137bdc7d7c320958d00e98db6
* If the user has not set it explicitly, set the "PRAGMA synchronous" setting todan2017-03-16
| | | | | | SQLITE_DEFAULT_SYNCHRONOUS when a database connection changes from wal to rollback journal mode. FossilOrigin-Name: 78030c0f52aa39fb2ab32c75c56e6bcefe6382b8df28b1909e3c911e42dbeca3
* Simplified OOM detection in the instr() SQL function.drh2017-03-16
| | | FossilOrigin-Name: 6d85eb5736781b43aa674d9544c7523b849b4e634f371702f8764b33e22e1e9f
* Fix an uninitialized variable reference in the text generator drh2017-03-16
| | | | | | for "PRAGMA vdbe_trace=ON" output. Problem discovered by OSS-Fuzz. FossilOrigin-Name: e3d487162d1596ce125644f754ed9531ef4412f31f6837c3e31b7542b90602fe
* Fix a crash that could follow an OOM condition in the instr() SQL function.dan2017-03-16
| | | FossilOrigin-Name: 6e59e903e4e956617bddef0b94e5cae02d724ac8145940b57ab5b0f628759736
* Mention the ".selftest" command in the ".help" output of the CLI.drh2017-03-15
| | | FossilOrigin-Name: 37f766dbad1f99ff86dd1b771bf443036e928e5b4d8abe55bbe4acf3362c7be2
* Make "PRAGMA temp.synchronous=N" a no-op to ensure that the TEMP schemadrh2017-03-15
| | | | | always has synchronous=OFF. This fixes an issue discovered by OSS-Fuzz. FossilOrigin-Name: bcf6bb08d8b07d3c4567bcd367f8d4011ce8baad28c25d4e8870bdf347dd48bd
* In the output of the ".dump" command in the CLI, quote newline anddrh2017-03-13
|\ | | | | | | | | | | | | carriage-return characters using the char() function, so that they do not get eaten by end-of-line processing logic in the OS or in other command-line utilities and/or libraries. FossilOrigin-Name: 68f6dc7af1013f296a11db14c007cc13cc3fe56832848bfed835ed8f74dcc676
| * The output of the ".dump" command in the CLI quotes newline and carriage-returndrh2017-03-11
| | | | | | | | | | characters using "char(10)" and "char(13)". FossilOrigin-Name: 8b2954dd8376e2de985cf5dedeb6eec32c430505
* | Fix the sqlite3TreeViewSelect() routine so that it works with a null pointerdrh2017-03-13
| | | | | | | | | | to the Select object. FossilOrigin-Name: 9034cf7efc603864f51e931c7dc4fbbc2d01904e951e78c88d4d80f9936250e8
* | Fix a segfault that could occur following an OOM error in thedan2017-03-13
| | | | | | | | | | flattenSubquery() routine. FossilOrigin-Name: c6dda3f752c184f441624c9993e77d5031063d79a0e177b6e25a9886514a742e
* | Fix a possible NULL pointer dereference in following an OOM errordrh2017-03-12
| | | | | | | | | | in sqlite3ExprIsInteger(). Problem found by OSS-Fuzz. FossilOrigin-Name: 5ec655e8e817c1ed3bfb2e576745a7cef441494ad7baf1bf9f8895e98ac19c5a
* | Remove an obsolete assert() in the IN operator code generation.drh2017-03-12
| | | | | | FossilOrigin-Name: 18bf6aca2ac86478fd12d5020f3a41cfd2bd2dc3defe2298411f79ad308a6f73
* | Make sure the translateColumnToCopy() routine in the query planner does notdrh2017-03-11
|/ | | | | | try to access an array that failed to be fully allocated due to a prior OOM. This fixes an issue discovered by OSSFuzz. FossilOrigin-Name: 3299a26160c239255608d1e2b15a221e28b18a3d
* Increase the number of significant digits in floating point literals ondrh2017-03-11
| | | | | ".dump" output from the shell. FossilOrigin-Name: 7359fcacaadc349f520536311dcd1d0b5cea7673
* Fix an error in the SQLITE_MAX_MEMORY implementation resulting from a baddrh2017-03-10
| | | | | | merge. Update the OSSFuzz interface so that it times out after running the byte-code engine for 10 seconds. FossilOrigin-Name: f8560c60d10c0365b33342ab05b5a953987b0471
* Add the -DSQLITE_MAX_MEMORY=N compile-time option. The default is no limit.drh2017-03-10
|\ | | | | FossilOrigin-Name: eabd4ef498a0f0d97d65e321c4d06ab90523ed61
| * Add the SQLITE_MAX_MEMORY compile-time option that provides a hard upper bounddrh2017-03-10
|/ | | | | on the amount of memory that SQLite will use, per process. FossilOrigin-Name: 77dfe2abdae88dea81217f352d87e5ba2c822715
* Enhance the ".stats" dot-command in the CLI to use sqlite3_status64() insteaddrh2017-03-10
| | | | | of sqlite3_status(). FossilOrigin-Name: 118f5c0564fef70cbd06fc0d9dbb2baec162cc39
* Improvements to ".selftest --init". Tests are number in increments of 10drh2017-03-10
| | | | | | | starting with 100. The tests are generated inside a SAVEPOINT. Errors are reported during test generation. Tests can be appended to existing tests. Add a test case to verify the schema. FossilOrigin-Name: b044b152aac2ec606750940ea816ad4a4aef8eb6
* Remove the test/dbselftest.c program. In its place, add the ".selftest"drh2017-03-09
| | | | | | | command to the CLI. The new CLI version is .selftest is slightly different in that it uses SHA3 hashing instead of SHA1, so the new is subtly incompatible with the old. FossilOrigin-Name: f4fcd46f08ba59d2a3e772cad98383129f648386
* Fix the ".dump" command to correctly extract tail data from corruptdrh2017-03-09
| | | | | WITHOUT ROWID tables. FossilOrigin-Name: 6c627e50622d8bcd25ec7d5503f3fafd725673a8
* Begin moving separate boolean variables in the ShellState object of the CLIdrh2017-03-09
| | | | | into the shellFlgs bitmask. FossilOrigin-Name: 50eec5d9aa38fab1a85d788356ffdaf6c35d9ece
* Make sure the database connection is open prior to running the ".sha3sum"drh2017-03-08
| | | | | command. FossilOrigin-Name: 2ea300fb8f7c497f3f092dc91f4305d8431c27d9
* In the ".sha3sum" command, if there is a LIKE pattern, show the hashes fordrh2017-03-08
| | | | | | each table separately. Without a LIKE pattern, show a single hash over the entire database. FossilOrigin-Name: 30f878832820ce7ccc4627c4f0f98fbe82f8b0f6
* Add the ".sha3sum" command to the CLI - used to compute a cryptographic hashdrh2017-03-08
| | | | | | of the <em>content</em> of a database file or of individual tables with in that file. FossilOrigin-Name: fc663799075a22b0a61a6a114116bb2d1b96d4ab
* In the CLI, avoid unnecessary identifier quoting in the ".dump" output.drh2017-03-08
| | | | | Also add new ".dump" test cases. FossilOrigin-Name: de65f907610a59e64cbf2214789c11f7117a86a6
* Add the --preserve-rowids option to the ".dump" command in the CLI.drh2017-03-08
| | | FossilOrigin-Name: c60aee24714a47ce12ee2a4dcefb9f55211d3761
* Performance optimization in the tokenizer/parser loop.drh2017-03-07
| | | FossilOrigin-Name: 2cb71583d631cd417acbeebbb4ee950573a9deef