aboutsummaryrefslogtreecommitdiff
path: root/src/test8.c
Commit message (Collapse)AuthorAge
* First attempt at getting the build to work with Tcl 9.0.drh2024-07-30
| | | FossilOrigin-Name: 6e5bb48a74d63fb8c30528f0005d1763cd2dbb882abf86baf1565721e6bfcf84
* Ensure that all fields of static sqlite3_module objects are explicitlydrh2023-10-06
| | | | | initialized, in order to hush-up nuisance compiler warnings. FossilOrigin-Name: f3b3d712d6e58b1cb8fdebd2b6b3125080b6b3ac8c7c849a8cc1e5e778d62fe7
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* When deleting an SQL function that does not exist, return without doingdrh2021-05-17
| | | | | | | | | anything at all rather than creating a tombstone function. In this way, function deletes that happen inside virtual-table destructors that are run when a database connection is closing do not create new tombstones in the function table after the function table has already been purged. [forum:/forumpost/726219164b|forum post 726219164b]. FossilOrigin-Name: 391c73132c80df944fb49a17d8fe78203c54ac48f968ee9dd9dd8c769c0b4b10
* Further refactoring of the schema table name.drh2020-06-19
| | | FossilOrigin-Name: 9536fa0ae0c1ae6e2e98d2fa11e5acda7f3c9b8ca5061b6f7f8cae63a11d936b
* Enhance the vtab interface to handle IS, !=, IS NOT, IS NULL and IS NOT NULLdan2017-09-09
| | | | | constraints. FossilOrigin-Name: 34c8e952616013deb6fffec701ac5989afac9bef1bf92458a2e4ba92c7ee924f
* Make sure the SQLITE_TCLAPI macro is always defined.mistachkin2016-07-28
| | | FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
* Allow the 'testfixture.exe' target to be compiled with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. FossilOrigin-Name: e8be3dfeabaa31b3490793cf8230faae1204be15
* Fix some more harmless compiler warnings.mistachkin2015-12-16
| | | FossilOrigin-Name: 18f531e1cf3c8bb986d912c9c5e3f5698360c93e
* Add the "colUsed" field to the sqlite3_index_info structure passed to ↵dan2015-11-26
| | | | | virtual table xBestIndex methods. To indicate the subset of the virtual table columns that may be required by the current scan. FossilOrigin-Name: 116b206494eb8ba963c7c5acfbf9e7b6db11c79c
* Merge latest trunk changes with this branch.dan2015-11-24
|\ | | | | FossilOrigin-Name: 99222bb3e5f9b2a9a10d9561a9fd8c0f717baaff
| * Add a clarifying comment to the virtual table test module 'test8'.mistachkin2015-11-24
| | | | | | FossilOrigin-Name: e92f97a6794440eb9d64e21218d39cb0e297a98e
* | Add experimental support for LIKE, GLOB and REGEXP to the virtual table ↵dan2015-11-23
|/ | | | | interface. FossilOrigin-Name: 277a5b4027d4c2caba8143228a4f7d6df899dbb4
* Eliminate all use of sprintf(), strcpy() and strcat() from test logic becausedrh2015-01-19
| | | | | OpenBSD hates those functions. FossilOrigin-Name: 10321910990195878c0af1e94b34ae0cdc0cb31b
* Harmless compiler warning fixes for 'testfixture' and the miscellaneous ↵mistachkin2015-01-12
| | | | | extensions when built with the MSVC makefile. FossilOrigin-Name: 923fd66031ed1876bc63c3a038f0b8e33678184e
* Add logic to releasetest.tcl that detects -fsanitize=undefined errors.drh2015-01-01
| | | | | | Fix a few false-positivies that come up when running the sanitize=undefined test. FossilOrigin-Name: 2835e79a0afec6e4d449ac9340afec068c2d4c11
* Fixes for various clang warnings.drh2014-01-24
| | | FossilOrigin-Name: 87bf60637e5863c54c5e2d05aaaca0835b7aace8
* Fix an issue in the test8.c test module that arises because of the changedrh2013-10-05
| | | | | to PRAGMA index_list(). Remove an unused local variable. FossilOrigin-Name: 029430c503f243a34439698779db7e591cfbe126
* More refinements to Windows OSTRACE usage. Replace all usage of ↵mistachkin2013-04-29
| | | | | sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. FossilOrigin-Name: 05ba5e23fcc5da416d47a8ad5e667ed6a0c7a34a
* Move the test_spellfix.c module to ext/misc/spellfix.c.drh2013-04-25
| | | FossilOrigin-Name: de556add10150140981a2e34b3712e96a7c262e3
* Fix the test_spellfix.c extension so that it can be made loadable at run-time.drh2013-01-25
| | | | | Add spellfix to the shell when building using the build-shell.sh script. FossilOrigin-Name: 7813b17d8b9fe48ddc841fe1c4bb75f7747073de
* Fix compiler warnings about unused code in spellfix. Fix the editDist3Core()drh2012-07-16
| | | | | routine to return the matchlen in characters instead of bytes. FossilOrigin-Name: f96d4e7bd7d81b05b1490bf5d79c77ff583e444c
* Update test_spellfix.c with latest changes.dan2012-07-13
| | | FossilOrigin-Name: cba2a65870481df213e006b07e74f0ca19d2d57c
* Return SQLITE_MISUSE if an application attempts to register a virtual table ↵dan2012-05-16
| | | | | module with the same name as an existing module. FossilOrigin-Name: ea2cd55e098b21cd8997fd6c1978131d3ef2fab4
* Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also indrh2012-04-19
| | | | | tclsqlite.c and in the FTS4 module. FossilOrigin-Name: 3281972eaa46cb57fd9f0387063f47430dc0a3b4
* Fix out-of-bounds array references in the "echo" virtual table moduledrh2012-03-20
| | | | | used for testing. No changes to the SQLite core. FossilOrigin-Name: 7b449b301ea03295262b8d572b02625e4b39cfa5
* Add a test for [48f29963] that does not depend on FTS.dan2011-10-29
| | | FossilOrigin-Name: fb15f5458eb3e17ce9795c09bffe1224fea0eecd
* Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() anddrh2010-07-24
| | | | | all memory from sqlite3_malloc() is freed by sqlite3_free(). FossilOrigin-Name: ac1f37a647e9ed1c00a901d26d9956a86c40117a
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Fix a case in where.c where a crash can follow a malloc failure. Also modify ↵danielk19772009-04-29
| | | | | test code in test8.c to check a return code that was being dropped (causing a test in vtab_err.test to fail). (CVS 6567) FossilOrigin-Name: 9664e2b6c69271a7ca55af7812a186773a7c6592
* Attempt to optimize virtual table queries with 'OR' expressions in the WHERE ↵danielk19772009-04-21
| | | | | clause. (CVS 6527) FossilOrigin-Name: f61e4cd93682fd98bea2a71d346f9eaa68454390
* Remove a pair unnecessary conditions from printf.c. The "db" parameter isdrh2009-04-08
| | | | | now required for sqlite3MPrintf(). (CVS 6471) FossilOrigin-Name: 6fe8b5d70247d9c6b70dd482db3990986be97e69
* Changed to used sqlite3_snprintf instead of snprintf (test code only). (CVS ↵shane2008-08-31
| | | | | 5648) FossilOrigin-Name: d68791e35d13f5ae4befeb0bb5f8ccaf14fd3763
* Add the pcache module from the experimental branch. Also change things so ↵danielk19772008-08-20
| | | | | that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566) FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9
* Fix warnings and a compilation error in test code. (CVS 5556)danielk19772008-08-12
| | | FossilOrigin-Name: 80c129e63ec7dbed3de1e485dffea96fae40aa6d
* Remove a reference to snprintf() in test8.c. (CVS 5538)drh2008-08-05
| | | FossilOrigin-Name: 32d32b743642c2f6d9e4f8845a9cd07e4f83f4cd
* Also test that setting sqlite3_vtab.zErrMsg works from within the xRename ↵danielk19772008-08-01
| | | | | method. (CVS 5520) FossilOrigin-Name: 4f4a9ccae7d25b9856d1203f6b289d552c2b425e
* Test that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, ↵danielk19772008-08-01
| | | | | xRowid, xUpdate, xSync and xBegin can all return error messages using the sqlite3_vtab.zErrMsg variable. (CVS 5519) FossilOrigin-Name: 007359b770f225877880b11f4c5d97bb548e38ca
* Implement the "lookaside" memory allocation cache. Use of this cache makesdrh2008-07-28
| | | | | | the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
* Read the sqlite3_vtab.zErrMsg after each call to a virtual table drh2008-07-23
| | | | | | | | method and transfer any error into the database connection. Fix the fts2.test and fts3.test scripts to that they return silently rather than failing the test sequence if the appropriate FTS implementation is unavailable. (CVS 5463) FossilOrigin-Name: e2c6771d44f1b4fee16ef90e91c3498be2a7d2b1
* Additional test cases added on the sqlite3_create_function() interface. (CVS ↵drh2008-07-07
| | | | | 5349) FossilOrigin-Name: 4e941f3d43556d8a503bb96e8a74451de36d243e
* Add a mode to the sqlite3_test_control() interface to register hooks called ↵danielk19772008-06-20
| | | | | at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) FossilOrigin-Name: 56c8af1452dfdc8da858a2411bd6f3663a8a9326
* Fix a problem with the incremental blob API. sqlite3_blob_open() was always ↵danielk19772008-06-16
| | | | | reading the data for the leftmost column of the row that the opened blob was stored in. If this column happened to contain a (the) large blob, sqlite would make a large memory allocation to read the data into. Which defeats the purpose of using incremental blobs. (CVS 5222) FossilOrigin-Name: 1b9478da2f421c1270e76297324fff8037d2f231
* Make the benign-fault setting recursive. Make all malloc failuresdrh2008-05-13
| | | | | during a rollback benign since there is nothing we can do about them. (CVS 5128) FossilOrigin-Name: a9d1d931358637a6f039723a053098f65530de4b
* Fix a couple of minor problems with transactions in virtual tables. (CVS 5081)drh2008-05-05
| | | FossilOrigin-Name: 2275fc6ee06b17da5808cecfa5570ac6439eaf74
* Add test cases to verify that multiple virtual tables can be updateddrh2008-04-28
| | | | | | within a trigger and that xSync, xCommit, and xRollback are never called except following xBegin or xCreate. Ticket #3083. (CVS 5064) FossilOrigin-Name: 76175199ac2fda57e616eb386ba0bad6aa9f74b4
* Return an error when an xBestIndex() method indicates that it intends to use ↵danielk19772008-03-17
| | | | | the value of an unusable constraint. Related to #2998. (CVS 4867) FossilOrigin-Name: ffd470279540b1b8e3fdce6eb14001bae489b16d
* Where possible, avoid freeing buffers allocated for vdbe memory cells in ↵danielk19772008-02-13
| | | | | case they can be reused. (CVS 4783) FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a
* Add the fault injector module in fault.c. Use it as a basis for memorydrh2008-01-22
| | | | | allocation failure testing. (CVS 4742) FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6
* Change all instances of "it's" in comments to either "its" or "it is",drh2007-12-13
| | | | | | as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36