aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * Printing a value of 0 using %c terminates the string.drh2018-02-19
| | | | | | FossilOrigin-Name: 255612f0a131f2f522cbca3cc5a1edcf7e38938abca25ba421e7e38a422db9c9
| * Test cases and a bug fix on the new unicode handling in %c.drh2018-02-19
| | | | | | FossilOrigin-Name: e41d64e95b9b6fec5dc329553822925e7d648a41912b420cfa1ba198736e6bab
| * Fix the %c substitution in printf() so that it works with unicode characters.drh2018-02-19
| | | | | | FossilOrigin-Name: c35be1d9e9132fbadc74d207c1088e5a710a151c0835c38a63bf3c8e6fd711a0
| * Make the alternate-form-2 flag ("!") change the meaning of width and precisiondrh2018-02-19
| | | | | | | | | | from bytes to characters for the %q, %Q, and %w extensions of printf(). FossilOrigin-Name: 391540acbea34eb88c75b1152b458d8936b3fdfff47633b9ec897775b015ba4c
| * In the printf() library, measure width and precision in characters ratherdrh2018-02-19
| | | | | | | | | | | | than bytes if the "!" (alternate-form-2) flag is present on a %s or %z substitution. FossilOrigin-Name: ca31c6630422fca70e626dd38aae96296bd8535d491ca52391624a5e7e663636
| * Only try to use the geteuid() interface on unix if HAVE_FCHOWN is defined.drh2018-02-19
| | | | | | | | | | This fixes the build for vxWorks, we are told. FossilOrigin-Name: 38f654dc117bb11d61407327884b5c913cfaf920547bebc4ce5a4cf983e5c20e
| * Fix an assert so that it compares two CellInfo objects field by fielddrh2018-02-19
| | | | | | | | | | | | instead of using memcmp(). Memcmp() does not work on x86 because of uninitialized padding bytes. FossilOrigin-Name: 88258770adead70fa101c74e266a37bb9aaffac0ba738a4b345617feb8c46477
| * Fix a memory leak in the processing of nested row values. This problem hasdrh2018-02-18
| | | | | | | | | | | | existed every since row values support was added (version 3.15.0, 2016-10-14) but was only just now detected by OSSFuzz. FossilOrigin-Name: 2df6bbf1b8ca881c8a465d6624de66fde4c5975ccae6b2f2dda392b137f577de
| * Port mutex enhancments from check-in [f53b8a573b] to the Win32 implementation.mistachkin2018-02-18
| | | | | | FossilOrigin-Name: 74bb7225d132c80fd5758bb8c120448e3b3e951d0ca2fa0c57cac0a9c6c27045
| * Fix a data race causing a tsan complaint with SQLITE_ENABLE_API_ARMOR buildsdan2018-02-17
| | | | | | | | | | on unix. The race condition is not dangerous in practice, it just upsets tsan. FossilOrigin-Name: f53b8a573bfbb48780243d56ca8372165adb1b979731c43d46cd1f8eb7e593f3
| * Do not allow parameters or schema references inside of WITH clause ofdrh2018-02-15
| | | | | | | | | | | | triggers and views. This fixes a bug discovered by OSSFuzz and present since common-table-expressions were first added in 2014-02-03. FossilOrigin-Name: b918d4b4e546d3903ff20efc3c8ca26dd9761cc8ed9ef7d2799b66ff9ae1ae51
| * Fix the --heap, --pagecache, --lookaside and other options to the command-linedrh2018-02-15
| | | | | | | | | | shell that invoke sqlite3_config() so that they work again. FossilOrigin-Name: 00707f2f2f746a6421f3e2de995e68cc8adba7225a04db6b28db52944e7e988e
| * Add the --readonly option to the ".open" command in the CLI.drh2018-02-14
| | | | | | FossilOrigin-Name: 06870bb15656b50b0e14d4364bb21afac76500e313ecf67aaef3688d603fd076
| * Fix an incorrect table lookup used to find the appropriate search operatordrh2018-02-13
| | | | | | | | | | | | | | for a WHERE clause on a row-value inequality. The incorrect table lookup was causing an incorrect answer for the less-than operator. Fix for ticket [f484b65f3d6230593c34f11] FossilOrigin-Name: f3112e67cdb27c1aec8d2cee3cb91ade061d093e13505894698e26336898b336
| * When compiling with VDBE_PROFILE, add the sqlite3NProfileCnt global variabledrh2018-02-12
| | | | | | | | | | | | which can be used to measure per-opcode values other than elapse time, if non-zero. FossilOrigin-Name: d44d5936428859b6d3e089d9835acb8ca1f3c0a85b59eeaa619170623e7dcc30
| * Update test file func6.test so that it works with SQLITE_ENABLE_NULL_TRIMdan2018-02-12
| | | | | | | | | | builds. FossilOrigin-Name: e128d72f1a565551d3b6fdb3807fcb1c2a2bf355f0c09d04562b62f49d01fdbc
| * Fix a possible infinite loop in VACUUM that can come up when the schemadrh2018-02-12
| | | | | | | | | | | | has been carefully corrupted. Problem discovered by OSSFuzz. Test cases in TH3. FossilOrigin-Name: 27754b74ddf6463c6f9c48ea0df3637945b5ea086b92a41ddeb55b9aaefea4c2
| * Fix misplaced testcase() macros from the previous check-in.drh2018-02-10
| | | | | | FossilOrigin-Name: 3aed949a18a251c5795f21f0385c205a127502b7e9cf06bc7f4c763951cd7984
| * Improve the performance of the built-in REPLACE() function in cases wheredrh2018-02-09
| | | | | | | | | | | | | | it does many substitutions that make the string larger. OSSFuzz is reporting intermittant timeouts when running a test where it does a REPLACE() on a 930KB random blob. Perhaps this enhancement will fix that. FossilOrigin-Name: fab2c2b07b5d3cd851db3e6f5c8a44155e32b0df22905ea33412b153b825a928
| * Enhance sqlite3ErrStr() to include several more error codes.mistachkin2018-02-08
| | | | | | FossilOrigin-Name: ad5d3bdc739a0997786f94fb5789b726b9f53ff883226093924338fe5000922b
| * Fix typo in comment. Skip tests added by check-in [4761db83b6] when running ↵mistachkin2018-02-07
| | | | | | | | | | on Windows. FossilOrigin-Name: 468a389cdc8b6f92c77b11f682e210ad8cce7e3dbc0df308a898f4115e85fce2
| * When the final connection disconnects from a wal mode database, check that thedan2018-02-07
| | | | | | | | | | | | database file has not been moved or unlinked before deleting the wal and shm files. FossilOrigin-Name: 4761db83b6d3d57f281370899403c102e39ad0021d315dd6a6912d250436782a
| * Adjust the previous check-in, which modified the Win32 VFS, so that it works ↵mistachkin2018-02-05
| | | | | | | | | | with SQLITE_OMIT_WAL. FossilOrigin-Name: 36c2e67e82626f8d0a187c6c286c133ed659889e3b577469261b9dcd3b3ab75b
| * Allocation the mutex used by the Win32 VFS only once at initialization, ↵mistachkin2018-02-05
| | | | | | | | | | instead of every time it is needed. FossilOrigin-Name: 535ed0ac5e8728ec91fc0a4cb54b820923d161cfd4e0e6aed6df6cdae365bc7d
| * Allocation the mutex used by the unix VFS only once at initialization, insteaddrh2018-02-05
| | | | | | | | | | of every time it is needed. FossilOrigin-Name: 5764dc160783f5c4017204b3e26a89d31240c868484ced8214c9ad872bd77bd4
| * In the CLI,drh2018-02-04
| | | | | | | | | | make sure sqlite3_initialize() is called correctly even for non-UTF8 hosts. FossilOrigin-Name: a3591fb54178b8f124207ff16e3ef9e58a62585feb3a56ced2b862222aea19d8
| * Fix harmless compiler warning seen with MSVC.mistachkin2018-02-04
| | | | | | FossilOrigin-Name: 63a914410b5750bd08836864ae456ff09549487c5ce49706fedffa3d4f973059
| * New assert() statements to help ensure that no other errors similardrh2018-02-01
| | | | | | | | | | to [343634942dd54ab57b7] ever appear in the code. FossilOrigin-Name: 5a70af1e9c567f12c997d25d0a305a8d42bf2cc92f2811e9d5fdde720665e213
| * When an index is based on a text representation of a numeric column in thedrh2018-02-01
| | | | | | | | | | | | | | original table, make sure the indexed value uses the canonical text representation of the numeric value in the table. Proposed fix for ticket [343634942dd54ab57b70]. FossilOrigin-Name: 88e2ce916791d488076584f3795a89eb4277fcb812af9e4c2f383815d55ff6f1
| * Improve the omit-left-join optimization so that it works in some cases drh2018-01-31
| |\ | | | | | | | | | | | | when the RHS is subject to a UNIQUE but not NOT NULL constraint. FossilOrigin-Name: 02ba8a7ba7ba71cd7abd5dd3093ea486f53a025f6972bb444f2da37e0e2fc3b2
| | * Fix a failing assert() in the new code on this branch.dan2018-01-31
| | | | | | | | | FossilOrigin-Name: 74d857d178dfadea7e07ba47439fe11aa9d282b54caf78cd6961e593b37406d0
| | * Update the omit-left-join optimization so that it works in some cases when thedan2018-01-29
| | | | | | | | | | | | | | | RHS is subject to a UNIQUE but not NOT NULL constraint. FossilOrigin-Name: 88411a402b29f19d69e0d06d9099eabb98c238ddb7c07ce110236316f008753e
| * | Changes to the autoconf tarball so that it does not try to use system() whendrh2018-01-31
| | | | | | | | | | | | | | | building on iOS. FossilOrigin-Name: 32ed9c106710c74a12d60ec33027fd6a9335627c95642ba608593b2735714da6
| * | If a virtual table xColumn method sets an error message usingdan2018-01-30
| |/ | | | | | | | | | | sqlite3_result_error(), use that message in preference to any error message left in the sqlite3_vtab object. FossilOrigin-Name: 71e3b715ad36c2132a587b84221be6359c31d7a17c3fba201b7ed3baf17922f1
| * Ensure the "unique-not-null" flag is set for automatic indexes on columnsdan2018-01-29
| | | | | | | | | | | | declared with "col UNIQUE NOT NULL" (where the NOT NULL comes after the UNIQUE). FossilOrigin-Name: 8767f7b880f2e4112f75f0b6ef7be3f50ab1ae20e103e7d03d8bfe77e6c79438
| * Changes to avoid a harmless UB warning from clang.drh2018-01-27
| | | | | | FossilOrigin-Name: 19f5c1400054df10688ab448e7e23afef97cab4a7c7a3e411f7527509b515dd8
| * Proposed fix for the query planner problem of ticketdrh2018-01-27
| | | | | | | | | | [ec32177c99ccac2b1]. FossilOrigin-Name: eef8cbef3c49e6331301a8f3f8a5fd12090b1e99e68487c2d405e53ef771f688
| * Fix the query planner so that it takes into account dependencies in thedrh2018-01-26
| | | | | | | | | | | | arguments to table-valued functions in subexpressions in the WHERE clause. Fix for ticket [80177f0c226ff54f6dd]. FossilOrigin-Name: 7daa687340e475972d6849f84fe1419a1f5700934f53fd80656849adc73d6d04
| * Improve text-to-integer conversion in boundary cases. Thedrh2018-01-26
| | | | | | | | | | | | | | sqlite3Atoi64() function always returns the minimum or maximum integer if the magnitude of the text value is too large. Trailing whitespace is now ignored. FossilOrigin-Name: ace0644a1a2a42a3ea42d44f00a31915b8a7e56c9ba90f90a6c02001f89f9c86
| * Slightly smaller and faster implementation of OP_If and OP_IfNot.drh2018-01-25
| | | | | | FossilOrigin-Name: 6ab42934e2c4957b5d8927bf4434a9db07ab6078987a6a2d25f35cc468d21203
| * When unpacking a sorter record, do so from right to left instead of left todrh2018-01-24
| | | | | | | | | | | | right, since by starting with the right-most column, the work done by OP_Column opcodes is reduced. FossilOrigin-Name: 8055e4f42446ceb5bcf752bbf41a73289c3ca759c56c9f779edc3d7f202b7881
| * Rearrange fields of the BtCursor object so that it is smaller and requires lessdrh2018-01-24
| | | | | | | | | | initialization, for a small performance improvement. FossilOrigin-Name: 0ddf5292cc0411ec6fcb7399ecf2904c899e0488404d3f65490fbe1db15efdf4
| * Add the normalize.c extension.drh2018-01-24
| |\ | | | | | | FossilOrigin-Name: 16ebe558d2f0982f630c39b6c1b00d14d27011d454cced213f17c26491a2c06e
| | * Test cases for sqlite3_normalize().drh2018-01-08
| | | | | | | | | FossilOrigin-Name: 658f42257d56a3562dfa8e55023c6e497f55c565cd751d942de3a9e0cb2fa708
* | | Merge changes from trunk.drh2018-01-24
|\| | | | | | | | FossilOrigin-Name: 6ef3de810d54563c227045b16197b8011ce285ea867261946f93b2de55344f29
| * | Interchange the numeric codes for CURSOR_VALID and CURSOR_INVALID to obtaindrh2018-01-24
| | | | | | | | | | | | | | | a small size decrease and performance increase. FossilOrigin-Name: e0f192ea6dda4fa0b243d58c8ce41932519141bcae0689a90318b4f866f54edd
| * | Prevent a harmless unused variable warning when compiling withdrh2018-01-24
| | | | | | | | | | | | | | | SQLITE_OMIT_TRACE. FossilOrigin-Name: 61a44961b5811c993ae8d4f820a21a0ee739fe5e88cbfe5e4190e0091912ca19
| * | Fix a formatting issue in sqlite3_prepare_v3() documentation. No changesdrh2018-01-24
| | | | | | | | | | | | | | | to code. FossilOrigin-Name: 9e6066de84285252fb8999a8d8e02a46c5bb6c822e4f7421ad3911687357ee5d
| * | Fix the sqlite3ext.h header file so that it correctly accesses thedrh2018-01-24
| | | | | | | | | | | | | | | new sqlite3_value_nochange() and sqlite3_vtab_collation() interfaces. FossilOrigin-Name: 6185d190e250faae0d979a24cb1039c7fce178478ae75df8e4af1d94cd38c18e
| * | Make the shell functional even if compiled with SQLITE_OMIT_COMPLETE.drh2018-01-24
| | | | | | | | | | | | | | | | | | Omit the sqlite3_complete() call from the fuzzing interface if it is compiled with SQLITE_OMIT_COMPLETE. FossilOrigin-Name: c3e816cca4ddf0967c4c790cdde2345101dde3f2d854e62589f1ac1d7f3c60b8