1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-24 14:17:58 +03:00

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)

FossilOrigin-Name: e90c4cc8a89838161f218739bc821126e247498c
This commit is contained in:
drh
2008-03-19 16:08:53 +00:00
parent 2fa1868fb6
commit 984bfaa4c7
12 changed files with 324 additions and 192 deletions

View File

@@ -11,7 +11,7 @@
# This file implements some common TCL routines used for regression
# testing the SQLite library
#
# $Id: tester.tcl,v 1.106 2008/03/07 19:51:15 drh Exp $
# $Id: tester.tcl,v 1.107 2008/03/19 16:08:54 drh Exp $
set tcl_precision 15
@@ -187,6 +187,7 @@ proc finalize_testing {} {
sqlite3 db {}
# sqlite3_clear_tsd_memdebug
db close
sqlite3_reset_auto_extension
set heaplimit [sqlite3_soft_heap_limit]
if {$heaplimit!=$::soft_limit} {
puts "soft-heap-limit changed by this script\