aboutsummaryrefslogtreecommitdiff
path: root/src/test_func.c
Commit message (Collapse)AuthorAge
* Omit the return value from sqlite3VdbeSerialGet() for a size reductiondrh2021-12-14
| | | | | and performance improvement. FossilOrigin-Name: 788e79f881d443fc1b3a213a7ba4f19bfd245e96c15bb21fcb6bffd92c4320b8
* Initial implementation of the sqlite3_value_frombind() interface.drh2019-03-29
| | | FossilOrigin-Name: 98da62dfdacc6b3c490c387d1f8a74cc5daa978776967e264ad4800c380b0ddf
* Fix harmless compiler warning seen with MSVC.mistachkin2017-10-07
| | | FossilOrigin-Name: 39d920d1ef0cce40195b21e148f78f544710348fa180c0e76f743a73e5236d45
* Add tests for the example fts3 "rank" function that appears in thedan2017-10-06
| | | | | documentation. FossilOrigin-Name: 702b137aa4f76543647e177beeb1ca2b3cd18c61021c78880e9aa8656f341d65
* Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE.drh2016-12-07
| | | FossilOrigin-Name: f360818737e73ee4f944685a547abc8f14f47819
* Avoid making unnecessary changes to the signatures of thedrh2016-08-01
| | | | | sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. FossilOrigin-Name: b6ea2f21f602031ef4dbd47462ac11b0bb0d5de6
* More compiler warning fixes for GCC related to the auto-extension mechanism.mistachkin2016-07-28
| | | FossilOrigin-Name: b8218129bc848c61fa6910feae4141dac6ad86fc
* Make the extension auto-loading mechanism work with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. FossilOrigin-Name: 3ea567c4b07b2a7a027b9b5cb8250ab687803698
* 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
* OOM failures on sqlite3_errmsg16() in an app-defined function are no longerdrh2016-02-05
| | | | | benign. FossilOrigin-Name: 9efb223f4ce8ccc00515f8f016f7c494c9ae5096
* Experimental implementation of sqlite3_result_subtype() anddrh2015-09-10
| | | | | sqlite3_value_subtype() interfaces. FossilOrigin-Name: 7b5be299c617a3d3ed327ed30ef0a66a62c85b1f
* Extra tests for commit [0f250957].dan2015-03-13
| | | FossilOrigin-Name: 5aa522dcb9bfa18d49683f7cc889516984e2bcd2
* Add the Mem.szMalloc element to the Mem object and use it to keep track ofdrh2014-09-18
| | | | | the size of the Mem.zMalloc allocation. FossilOrigin-Name: 9c09ac353df6041808cace41880f4729ee73f5e1
* Experimental simplification of memory flags/type handling.mistachkin2014-03-05
| | | FossilOrigin-Name: bac2820e13a79d91d0f8938c643134a9d6900327
* Fixes for test code that was not working with utf16 databases. Run the ↵dan2013-08-16
| | | | | analyze*.test scripts as part of the 'utf16' permutation test. FossilOrigin-Name: fe99494d99df95f699ffab07b1e212800b5ff00d
* Re-enable reading from the sqlite_stat3 table (as well as sqlite_stat4).dan2013-08-12
| | | FossilOrigin-Name: 6d45078e621526fc2bac0eaefbb0f9602b9a8ec5
* Use N separate cursors when scanning an index with N columns to collect ↵dan2013-08-05
| | | | | sqlite_stat4 data. This fixes a problem with collecting incorrect nEq values from multi-column indexes. FossilOrigin-Name: 3a71afe67418ce00097cd9714c395fe9ff16f23b
* Improved rounding accuracy on test-to-float conversions.drh2012-06-19
| | | FossilOrigin-Name: 699b792c6a0e989994549959b11ec1bfad8bbd92
* 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 typos and comments and make minor changes to a few function names,drh2012-01-04
| | | | | as suggested by readership. FossilOrigin-Name: e9d05cbb7676cbda83f1b3b71447404d7edde898
* Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes ↵shaneh2011-02-09
| | | | | to test modules. FossilOrigin-Name: 7cc515edc9cade2bc6c74699b3e4153bf2b74ebb
* Changes to test code so that testfixture compiles when OMIT_SHARED_CACHE and ↵dan2010-01-07
| | | | | OMIT_UTF16 are defined. FossilOrigin-Name: d6ee5ff6c815e3aadd92d331560b529394eae661
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Make sure that UTF16 to UTF8 conversions to not read past the end of thedrh2009-10-23
| | | | | | UTF16 input buffer if the last two bytes of the UTF16 happen to be the first half of a surrogate pair. Ticket [3fe897352e] FossilOrigin-Name: 19064d7cea838e1a93fe63743ed247f440679e97
* Changes to test code (only) to allow veryquick.test to run with OMIT_UTF16 ↵danielk19772009-07-22
| | | | | builsd. Ticket #3985. (CVS 6919) FossilOrigin-Name: 7f3fc7f20f6dc205eedbe445e35f5071f1c01185
* Change the sqlite3_create_function() family of routines to returndrh2009-05-07
| | | | | SQLITE_MISUSE instead of SQLITE_ERROR if their parameters are incorrect. (CVS 6617) FossilOrigin-Name: 866f13e28c6fdb98947e1c7a89b7855bb5bbdb96
* Fix a couple of fairly obscure cases where an assert() could fail following ↵danielk19772009-03-19
| | | | | a malloc failure. (CVS 6360) FossilOrigin-Name: cc0d925669ddeb55048e88aa5b4f658be60b0962
* Miscellaneous cleanup in the new pcache code. (CVS 5629)drh2008-08-28
| | | FossilOrigin-Name: da1777259f53c2e20c7ced06bf6f2a550f0ea0fc
* In the test logic: load the md5sum() SQL function as a separatedrh2008-08-27
| | | | | autoloaded extension. (CVS 5623) FossilOrigin-Name: d4438251dd66c4168e09eb421a8c2081228357dd
* Implement a "counter" SQL function that can be used to insert a sequencedrh2008-08-26
| | | | | | number each row of a result set. Currently in the test harness only, but a candidate to move into the core. (CVS 5614) FossilOrigin-Name: c84d46c71233bbf869513f433b1d18cbd7f2a35e
* Additional coverage testing. Fix a segfault following OOM indrh2008-08-02
| | | | | sqltie3_load_extension(). (CVS 5523) FossilOrigin-Name: f1e44eb323f05495cbae25113aebcc50d16b40df
* Omit calls to test_destructor16() if SQLITE_OMIT_UTF16 defined. (CVS 5508)shane2008-07-31
| | | FossilOrigin-Name: 2d5cec53c2f31875d198d81ac4fd54e7066ea0ff
* Detect and handles the case where a row is modified or deleted while itdrh2008-07-11
| | | | | is being read during SELECT processing. (CVS 5399) FossilOrigin-Name: c80a5d09935c60a2a50bc262c172a94073355f0d
* Fix a compilation bug with SQLITE_OMIT_AUTOINIT. (CVS 5366)danielk19772008-07-08
| | | FossilOrigin-Name: 94c95fad56965b68176e93f0690f0819ad40bcf7
* Additional test cases added on the sqlite3_create_function() interface. (CVS ↵drh2008-07-07
| | | | | 5349) FossilOrigin-Name: 4e941f3d43556d8a503bb96e8a74451de36d243e
* Fix a code generator bug caused by the new CSE optimization. Add test casesdrh2008-04-15
| | | | | to prevent a recurrence. (CVS 5011) FossilOrigin-Name: d04246a46399e839e70b1bd57e209f80143f0d5b
* Enhanced testing and documentation of sqlite3_result_error_code().drh2008-04-10
| | | | | Ticket #2940. (CVS 4983) FossilOrigin-Name: 5be56dbe879f89351239accf5069e4cb166e0792
* Initialize the MD5 SQL functions from test_func.c instead of usingdrh2008-03-19
| | | | | conditional compilation in tclsqlite.c. (CVS 4885) FossilOrigin-Name: 801a0e3c9972c1fc9f55a9c55cd0ff19fd79fa37
* Create the test_destructor16() test SQL function to enhance test coverage.drh2008-03-19
| | | | | | | Prior to check-in (4883), the test_destructor() function was sufficient, but we now need separate functions since the implementation is restricted to using the published API. (CVS 4884) FossilOrigin-Name: bb7218657f3b06d810ad710fe64e5c9984aa518c
* Move SQL functions used for testing only out of func.c and into a newdrh2008-03-19
test file named test_func.c. Use sqlite3_auto_extension() to make sure the test functions appear in every database connection. (CVS 4883) FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c