aboutsummaryrefslogtreecommitdiff
path: root/test/func.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2006-01-03 00:33:50 +0000
committerdrh <drh@noemail.net>2006-01-03 00:33:50 +0000
commitdddca28608a7affaa923cd7032ae42ed937e444c (patch)
tree6268513e43553f7921bf62169f0328cf3889c57c /test/func.test
parent88f474a9380d3a890d484497bc8a8beaf5877a93 (diff)
downloadsqlite-dddca28608a7affaa923cd7032ae42ed937e444c.tar.gz
sqlite-dddca28608a7affaa923cd7032ae42ed937e444c.zip
The sqlite TCL command no longer returns the hex address of the sqlite3*
structure. Instead there is a new command in testfixture to find that information. (CVS 2852) FossilOrigin-Name: 70b228575e045bc56013aab945334203ceb31d8b
Diffstat (limited to 'test/func.test')
-rw-r--r--test/func.test8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/func.test b/test/func.test
index 5b95d021c..e0428b998 100644
--- a/test/func.test
+++ b/test/func.test
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing built-in functions.
#
-# $Id: func.test,v 1.42 2005/11/14 22:29:06 drh Exp $
+# $Id: func.test,v 1.43 2006/01/03 00:33:50 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -295,8 +295,7 @@ do_test func-9.1 {
# the user-defined SQL function APIs that are not used by the built-in
# functions.
#
-db close
-set ::DB [sqlite3 db test.db]
+set ::DB [sqlite3_connection_pointer db]
sqlite_register_test_function $::DB testfunc
do_test func-10.1 {
catchsql {
@@ -441,8 +440,7 @@ do_test func-13.6 {
# Test that auxilary data is preserved between calls for SQL variables.
do_test func-13.7 {
- db close
- set DB [sqlite3 db test.db]
+ set DB [sqlite3_connection_pointer db]
set sql "SELECT test_auxdata( ? , a ) FROM t4;"
set STMT [sqlite3_prepare $DB $sql -1 TAIL]
sqlite3_bind_text $STMT 1 hello -1