/ File History
Login

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

History of src/test_func.c

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