aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
Commit message (Collapse)AuthorAge
...
* Fix the implementation of the built-in RTRIM collating sequence so thatdrh2019-06-14
| | | | | | it works for control characters at the end of the string. Ticket [f1580ba1b574e9e9] FossilOrigin-Name: 86fa0087cd1f5c79ed51b99a226ec2eef5b0fa0a23981d469bec0e02fadf2a68
* Add the SQLITE_TESTCTRL_RESULT_INTREAL test-control and use it to createdrh2019-05-03
| | | | | | the intreal() SQL function in testfixture. Write a few simple tests to prove this all works. TH3 will hold most of the INTREAL tests, probably. FossilOrigin-Name: c9838731325e0ca73bd8784c10c74ae043fed7861e6de269fd90e29fa4a19955
* Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables.drh2019-04-13
| | | FossilOrigin-Name: 0b6ae032c28e7fe34d81d1769f6e2901addbd1b95cd9a255dcef274061fb0164
* Change the name of the parameter table in the CLI to "sqlite_parameters".drh2019-03-25
| | | | | | | Doing so involves adding SQLITE_DBCONFIG_WRITABLE_SCHEMA and allowing the creation of tables whose names begin with "sqlite_" and that are indexed while writable_schema is on. FossilOrigin-Name: 24ef3844692debc2db7b1d427f5dcf4050481a8c7f71c3b516766b819ecab587
* Honor key query parameters for SEE on the URI filename for ATTACH drh2019-02-02
| | | | | and VACUUM INTO. FossilOrigin-Name: 2e01096b8933a2315e3dffcd7d0de84c744c1b4be1d909388c61f0fd636ddb99
* Add the SQLITE_CONFIG_MEMDB_MAXSIZE configuration option for configuringdrh2019-01-31
| | | | | | | the default maximum size of an in-memory database created using sqlite3_deserialize(). This is necessary to make the interface reasonably testable. FossilOrigin-Name: cb72ee0478ce98c48aae059fd5de4e36caf2b8c953e08fcb799bfd119ad46b73
* Small performance improvement in the sqlite3_bind() family of interfaces.drh2018-12-11
| | | FossilOrigin-Name: 1dc0c3df32572f09265fc73eeaa0748159e0e9523b9b2d6768b834a29c909968
* When masking bits off of sqlite3.flags, make sure the mask is 64 bitsdrh2018-12-06
| | | | | in size so as not to accidentally mask of high-order bits. FossilOrigin-Name: 53d3b169d8e1892163526caff2c843302c92e280fdeff6831e23a9bb15b82be3
* When saving off the value of sqlite3.flags, take care to preserve all 64drh2018-12-06
| | | | | bits. FossilOrigin-Name: 9c6dbcfab5952cf4e54de30cf9cee48f988b91a35dc3f04d64d6d994dd84a076
* Invoking the sqlite3_trace() or sqlite3_trace_v2() interfaces cancelsdrh2018-12-06
| | | | | any sqlite3_profile() that is running. FossilOrigin-Name: ec63d3506bd429560077f82a4c5ed9d189780789fe1c134fff4f3b8733be1a3f
* Performance improvement in sqlite3_step() by creating a new mTrace flagdrh2018-12-04
| | | | | for the legacy xProfile pointer that is set by sqlite3_profile(). FossilOrigin-Name: e28584e8bc7b7405380064b60523fa6191f827f74075f6d117eb7732d752ba5e
* Do not allow direct access to internal-use SQL functions such asdrh2018-11-26
| | | | | | sqlite_rename_column() and sqlite3_rename_table() except when the new SQLITE_TESTCTRL_INTERNAL_FUNCTIONS flag is set. FossilOrigin-Name: 6e1330545e7b74fe5f1f20751a3425e2788441485fc07fcb7626e448c72027ce
* Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test casesdrh2018-11-07
| | | | | so that they work with DEFENSIVE enabled. FossilOrigin-Name: 3212733cb6d1a59516d67a86df7c7b1d2456a1b2e5d7080c26b0e87b2609c65d
* Add the SQLITE_DBCONFIG_DEFENSIVE flag.drh2018-11-03
| | | FossilOrigin-Name: af3f29d49359af2291b1d9e06e0db76fd000fbd24b4ac84d2668a0d1322efd83
* Avoid incrementing the SQLITE_LOOKASIDE_MISS_SIZE stat before sqlite3_open()dan2018-09-18
| | | | | returns. Fix test script problem in lookaside.test. FossilOrigin-Name: e461cb281959d8517296e3e4e934eba8206770b1a592cd7655b6567268da1634
* If a call to sqlite3_snapshot_open() fails because the requested snapshot nodan2018-08-31
| | | | | longer exists, return SQLITE_ERROR_SNAPSHOT instead of SQLITE_BUSY_SNAPSHOT. FossilOrigin-Name: e07923128bb164efbafde29d49175b61f2ef44b2dfac5ae4ed61937945dfcf4c
* Allow sqlite3_snapshot_open() to be called to change the snapshot after a readdan2018-08-15
|\ | | | | | | | | transaction is already open on database. FossilOrigin-Name: 41399169954f9bef53c3fa89879f39823b80bd127f76cf60abbe24217878a571
| * Allow sqlite3_snapshot_open() to be called to change the snapshot after adan2018-08-06
| | | | | | | | | | read transaction is already open on database. FossilOrigin-Name: 051ac0152048ef52723196c26ca5f2629dafb782aec1c66fc30531bf54335043
* | Minor style improvements.mistachkin2018-08-08
|/ | | FossilOrigin-Name: 60bbca2b9a591800cd8e7b374e62d75b1df0e8fd2d2f71f9b4d5fd044da78be0
* Faster implementation of sqlite3IsBinary().drh2018-07-27
| | | FossilOrigin-Name: be05d0db09f43cc3362c28273463d1d236af737a4f8a494cf1050da07ed0df47
* Do not abort running queries due to a CREATE INDEX statement. Allow themdrh2018-07-24
| | | | | | to run to completion before being reprepared. Fix for ticket [c694113e50321afdf9]. FossilOrigin-Name: 2bd593332da0aade467e7a4ee89e966aa6302f37540a2c5e23671f98a6cb599c
* Add the SQLITE_FCNTL_DATA_VERSION file controldrh2018-07-18
| | | FossilOrigin-Name: a5087c5c87ad65f92e3bc96bbc84afb43faf10ab6b9ed3ba16304b5c60ad069f
* Minor simplification to sqlite3RollbackAll().drh2018-07-16
| | | FossilOrigin-Name: 432fdc221550b3cca4140b1ae411da22201f689c30c72c5472dfdbc79bec9d90
* Enhancements and improved documentation to the byte-code branch coveragedrh2018-07-10
| | | | | | | | | | testing logic. Provide new macros that allow the code to specify that some branch instructions can never take the NULL path and that the OP_Jump opcode is only interested in equal/not-equal. The SQLITE_TESTCTRL_VDBE_COVERAGE file control callback now works slightly differently (it provides the callback with a bitmask of the branch action, rather than an integer). FossilOrigin-Name: cd2da7e1ba4e78e68ccf65d4969df963c1e3085930e74419450bda2799381e05
* Fixes for various harmless compiler warnings.drh2018-07-09
| | | FossilOrigin-Name: 5023b1b85b883a716a5da673740b6effe214ee0490f4ca45f161bb8b04784366
* Simplification to the logic that detects misuse of the application-defineddrh2018-07-09
| | | | | function creation interfaces. FossilOrigin-Name: 8f21d778450e1e5d2bc7f109d614fe018eb3d228b0bfc91cd3c6a5204415998f
* Ensure that all four callbacks are provided when registering a window functiondan2018-06-18
| | | | | (otherwise SQLITE_MISUSE is returned). FossilOrigin-Name: 5720dcd8b111b1f8712c8fb4b441ccb129e838db8c26a6e9e0f095dc6a851f6b
* Add new API function sqlite3_create_window_function(), for creating newdan2018-06-18
| | | | | aggregate window functions. FossilOrigin-Name: da03fb4318fd2613ec5c5b109a3974ac1120c19ed16bed4ca85bbdc4b35c998c
* Fix the sqlite3BeginTrans() calls within the snapshot extension.drh2018-06-06
| | | FossilOrigin-Name: 1fef7ad25b6a8e59163ac57f5cf0412bfc5b0e9446fd782f5f0a7d7ee11741fc
* Store application-defined function names as lower-case to avoid the needdrh2018-05-26
| | | | | | | for case conversions before calling xFindFunction on virtual tables. Avoid using lookaside to store the destructors for application defined functions, as lookaside should be reserved for transient allocations. FossilOrigin-Name: 777189ce88799f93f393fd14fd716111c85bcdcb23690fd561f78ea2bd2ce5da
* Add the SQLITE_DBCONFIG_RESET_DATABASE control as a replacement fordrh2018-04-28
| | | | | | the reset_database pragma. Resetting the database should be hard enough to do that it cannot be done by accident. FossilOrigin-Name: ff836cb8b0377c5970ecb2b797702e2b5d208eda443ecbd55f4c238a3094b28a
* Add new interfaces for accessing the list of SQL keywords:drh2018-04-25
| | | | | sqlite3_keyword_count(), sqlite3_keyword_name(), sqlite3_keyword_check(). FossilOrigin-Name: 7dd34e3776fed90a49344d54a1b68bb59f7957b5a8a1a367087b7cafb63111c1
* Omit some code not used without SQLITE_ENABLE_SORTER_REFERENCES. Improvementsdrh2018-04-18
| | | | | to comments used for documentation. FossilOrigin-Name: f3596ab9eb1168dc75202e6f79e12c67d518b3a0659a0a629c707f43990fa7cf
* Add SQLITE_CONFIG_SORTERREF_SIZE configuration option.dan2018-04-16
| | | FossilOrigin-Name: b25a7bb769b8397a00736bd922bd24b1200b2f82d36d42ecb4c3eb17efb4b84d
* Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_filedrh2018-03-29
| | | | | objects and return SQLITE_NOTFOUND. FossilOrigin-Name: 1fc72b707d4f4df049c19b023ae3f70cb45d6a6768bb68efc519cfdcd2d2ecda
* Fix a harmless compiler warning.drh2018-03-28
| | | FossilOrigin-Name: f0d12354bba96056f930e5ed3e88c37ec139211be09e6cd6eb7310e979de56c8
* Add infrastructure to support for using F_SETLKW with a timeout on systemdrh2018-03-26
| | | | | that support that functionality. Requires SQLITE_ENABLE_SETLK_TIMEOUT. FossilOrigin-Name: 2e54a7433ece4eb27e71bda6f2d121d5aa46ddd5a481357d8543d1432aaad689
* Refactor some internal object element names used by the busy handler, todrh2018-03-26
| | | | | simplify analysis. FossilOrigin-Name: 6c40c5574f4ae9795a142d01a8f84afd1b72678ea5f6bfca14a8646c4e862605
* Improved documentation for sqlite3_serialize() and sqlite3_deserialize().drh2018-03-06
| | | | | | Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. FossilOrigin-Name: f07e97aed435b02e1473053c0257ec5c89bf0b3e46076b7a9382de432bbc2497
* Merge the latest enhancements from trunk.drh2018-03-01
|\ | | | | FossilOrigin-Name: c8083de14b54fba1071385f8530d03d5684efd4963fde0f83ddc53ae3118a75b
| * Enhance sqlite3ErrStr() to include several more error codes.mistachkin2018-02-08
| | | | | | FossilOrigin-Name: ad5d3bdc739a0997786f94fb5789b726b9f53ff883226093924338fe5000922b
* | Merge changes from trunk.drh2018-01-24
|\| | | | | FossilOrigin-Name: 6ef3de810d54563c227045b16197b8011ce285ea867261946f93b2de55344f29
| * Fix a problem in os_unix.c causing it to return SQLITE_CANTOPEN instead ofdan2018-01-10
| | | | | | | | | | SQLITE_READONLY_RECOVERY. FossilOrigin-Name: 6a16f554f027ba268276b728588b5eaea837cbed85358a06a2f6da3b70e834ad
* | 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
* 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
* 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
* Merge latest trunk changes into this branch.dan2017-12-16
|\ | | | | FossilOrigin-Name: d5b597b52a1213cdf382d96f4df3535727be0852b25bafd12bbef54da946c5f2
| * 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
* | Merge latest trunk changes into this branch.dan2017-11-29
|\| | | | | FossilOrigin-Name: 373fa21bffd37053bb1a741d3ace2f003a5639bf373c20ea7bb24a31080888b3
| * Add experimental feature to detect threading bugs in apps that usedan2017-11-25
| | | | | | | | | | | | SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using SQLITE_ENABLE_MULTITHREADED_CHECKS. FossilOrigin-Name: a66886ac13aa6d8ccbb6d673ddd00267c93e3ee1fbc158236fce3157d150868d