/ All files named "src/test_func.c"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for src/test_func.c

2019-04-17
23:56
[9180857a] part of check-in [1f1866d1] Fix a couple minor test issues. (check-in: [1f1866d1] user: mistachkin branch: msvc, size: 28559)
2019-03-29
11:13
[181f992e] part of check-in [98da62df] Initial implementation of the sqlite3_value_frombind() interface. (check-in: [98da62df] user: drh branch: value_frombind, size: 28366)
2017-10-07
23:58
[d12d8059] part of check-in [39d920d1] Fix harmless compiler warning seen with MSVC. (check-in: [39d920d1] user: mistachkin branch: trunk, size: 27831)
2017-10-06
18:00
[772bb748] part of check-in [702b137a] Add tests for the example fts3 "rank" function that appears in the documentation. (check-in: [702b137a] user: dan branch: trunk, size: 27841)
2016-12-07
15:49
[a4fdab33] part of check-in [f3608187] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f3608187] user: drh branch: trunk, size: 23120)
2016-08-01
14:35
[a2b4993d] part of check-in [b6ea2f21] Avoid making unnecessary changes to the signatures of the sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. (check-in: [b6ea2f21] user: drh branch: trunk, size: 23127)
2016-07-28
22:53
[6f34b19a] part of check-in [b8218129] More compiler warning fixes for GCC related to the auto-extension mechanism. (check-in: [b8218129] user: mistachkin branch: callbackConv, size: 23067)
22:23
[7dceef0e] part of check-in [3ea567c4] Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. (check-in: [3ea567c4] user: mistachkin branch: callbackConv, size: 23019)
17:11
[9cea6fee] part of check-in [f2f1323c] Make sure the SQLITE_TCLAPI macro is always defined and use it for all callback functions that must interface with the Tcl C API. (check-in: [f2f1323c] user: mistachkin branch: callbackConv, size: 22954)
14:37
[4197173a] part of check-in [e8be3dfe] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (check-in: [e8be3dfe] user: mistachkin branch: callbackConv, size: 22926)
2016-02-05
04:50
[37453d34] part of check-in [9efb223f] OOM failures on sqlite3_errmsg16() in an app-defined function are no longer benign. (check-in: [9efb223f] user: drh branch: oom-handling, size: 22851)
2015-09-10
20:34
[0d9c2595] part of check-in [7b5be299] Experimental implementation of sqlite3_result_subtype() and sqlite3_value_subtype() interfaces. (check-in: [7b5be299] user: drh branch: subtypes, size: 22909)
2015-03-13
08:31
[f1ac2014] part of check-in [5aa522dc] Extra tests for commit [0f250957]. (check-in: [5aa522dc] user: dan branch: trunk, size: 22212)
2014-09-18
21:25
[14e543ae] part of check-in [9c09ac35] Add the Mem.szMalloc element to the Mem object and use it to keep track of the size of the Mem.zMalloc allocation. (check-in: [9c09ac35] user: drh branch: trunk, size: 21703)
2014-03-05
01:29
[d3013ce3] part of check-in [bac2820e] Experimental simplification of memory flags/type handling. (check-in: [bac2820e] user: mistachkin branch: noMemType, size: 21683)
2013-08-16
14:48
[f8235719] part of check-in [fe99494d] Fixes for test code that was not working with utf16 databases. Run the analyze*.test scripts as part of the 'utf16' permutation test. (check-in: [fe99494d] user: dan branch: sqlite_stat4, size: 21753)
2013-08-12
16:34
[338a6e5a] part of check-in [6d45078e] Re-enable reading from the sqlite_stat3 table (as well as sqlite_stat4). (check-in: [6d45078e] user: dan branch: sqlite_stat4, size: 21761)
2013-08-05
18:00
[fcd238fe] part of check-in [3a71afe6] Use N separate cursors when scanning an index with N columns to collect sqlite_stat4 data. This fixes a problem with collecting incorrect nEq values from multi-column indexes. (check-in: [3a71afe6] user: dan branch: sqlite_stat4, size: 20246)
2012-06-19
00:45
[3a8dd37c] part of check-in [699b792c] Improved rounding accuracy on text-to-float conversions. (check-in: [699b792c] user: drh branch: trunk, size: 17547)
2012-04-19
18:04
[090f2c33] part of check-in [3281972e] Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in tclsqlite.c and in the FTS4 module. (check-in: [3281972e] user: drh branch: trunk, size: 16607)
2012-01-04
12:57
[6232d722] part of check-in [e9d05cbb] Fix typos and comments and make minor changes to a few function names, as suggested by readership. (check-in: [e9d05cbb] user: drh branch: trunk, size: 16602)
2011-02-09
19:55
[cbdec5ce] part of check-in [7cc515ed] Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes to test modules. (check-in: [7cc515ed] user: shaneh branch: trunk, size: 16607)
2010-01-07
11:27
[13b58234] part of check-in [d6ee5ff6] Changes to test code so that testfixture compiles when OMIT_SHARED_CACHE and OMIT_UTF16 are defined. (check-in: [d6ee5ff6] user: dan branch: trunk, size: 16484)
2009-11-10
01:30
[1c94388a] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 16418)
2009-10-23
18:15
[c6e9d7cf] part of check-in [19064d7c] Make sure that UTF16 to UTF8 conversions to not read past the end of the UTF16 input buffer if the last two bytes of the UTF16 happen to be the first half of a surrogate pair. Ticket [3fe897352e] (check-in: [19064d7c] user: drh branch: trunk, size: 16486)
2009-07-22
07:27
[26ac62d8] part of check-in [7f3fc7f2] Changes to test code (only) to allow veryquick.test to run with OMIT_UTF16 builsd. Ticket #3985. (CVS 6919) (check-in: [7f3fc7f2] user: danielk1977 branch: trunk, size: 14095)
2009-05-07
13:43
[b8140bc4] part of check-in [866f13e2] Change the sqlite3_create_function() family of routines to return SQLITE_MISUSE instead of SQLITE_ERROR if their parameters are incorrect. (CVS 6617) (check-in: [866f13e2] user: drh branch: trunk, size: 14054)
2009-03-19
18:51
[dd7bcaaf] part of check-in [cc0d9256] Fix a couple of fairly obscure cases where an assert() could fail following a malloc failure. (CVS 6360) (check-in: [cc0d9256] user: danielk1977 branch: trunk, size: 15095)
2008-08-28
02:26
[a55c4d54] part of check-in [da177725] Miscellaneous cleanup in the new pcache code. (CVS 5629) (check-in: [da177725] user: drh branch: trunk, size: 14318)
2008-08-27
15:21
[bc648b77] part of check-in [d4438251] In the test logic: load the md5sum() SQL function as a separate autoloaded extension. (CVS 5623) (check-in: [d4438251] user: drh branch: trunk, size: 14340)
2008-08-26
14:42
[18c727c1] part of check-in [c84d46c7] Implement a "counter" SQL function that can be used to insert a sequence number each row of a result set. Currently in the test harness only, but a candidate to move into the core. (CVS 5614) (check-in: [c84d46c7] user: drh branch: trunk, size: 14194)
2008-08-02
03:50
[df7ddd5a] part of check-in [f1e44eb3] Additional coverage testing. Fix a segfault following OOM in sqltie3_load_extension(). (CVS 5523) (check-in: [f1e44eb3] user: drh branch: trunk, size: 13283)
2008-07-31
01:47
[94c4424e] part of check-in [2d5cec53] Omit calls to test_destructor16() if SQLITE_OMIT_UTF16 defined. (CVS 5508) (check-in: [2d5cec53] user: shane branch: trunk, size: 13228)
2008-07-11
21:02
[24a55698] part of check-in [c80a5d09] Detect and handles the case where a row is modified or deleted while it is being read during SELECT processing. (CVS 5399) (check-in: [c80a5d09] user: drh branch: trunk, size: 13160)
2008-07-08
14:17
[ade4f011] part of check-in [94c95fad] Fix a compilation bug with SQLITE_OMIT_AUTOINIT. (CVS 5366) (check-in: [94c95fad] user: danielk1977 branch: trunk, size: 12270)
2008-07-07
14:50
[dfa82814] part of check-in [4e941f3d] Additional test cases added on the sqlite3_create_function() interface. (CVS 5349) (check-in: [4e941f3d] user: drh branch: trunk, size: 12238)
2008-04-15
12:14
[f4aafa10] part of check-in [d04246a4] Fix a code generator bug caused by the new CSE optimization. Add test cases to prevent a recurrence. (CVS 5011) (check-in: [d04246a4] user: drh branch: trunk, size: 8281)
2008-04-10
17:14
[ef4ef323] part of check-in [5be56dbe] Enhanced testing and documentation of sqlite3_result_error_code(). Ticket #2940. (CVS 4983) (check-in: [5be56dbe] user: drh branch: trunk, size: 7531)
2008-03-19
19:01
[9e9b33ff] part of check-in [801a0e3c] Initialize the MD5 SQL functions from test_func.c instead of using conditional compilation in tclsqlite.c. (CVS 4885) (check-in: [801a0e3c] user: drh branch: trunk, size: 7313)
16:35
[107219be] part of check-in [bb721865] Create the test_destructor16() test SQL function to enhance test coverage. 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) (check-in: [bb721865] user: drh branch: trunk, size: 7256)
16:08
Added: [4e791ce3] part of check-in [e90c4cc8] Move SQL functions used for testing only out of func.c and into a new test file named test_func.c. Use sqlite3_auto_extension() to make sure the test functions appear in every database connection. (CVS 4883) (check-in: [e90c4cc8] user: drh branch: trunk, size: 6689)