aboutsummaryrefslogtreecommitdiff
path: root/test/blob.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/blob.test')
-rw-r--r--test/blob.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/blob.test b/test/blob.test
index 4e49f3864..b3c22b487 100644
--- a/test/blob.test
+++ b/test/blob.test
@@ -10,7 +10,7 @@
#***********************************************************************
# This file implements regression tests for SQLite library.
#
-# $Id: blob.test,v 1.4 2005/08/23 11:17:59 drh Exp $
+# $Id: blob.test,v 1.5 2006/01/03 00:33:50 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -104,7 +104,8 @@ do_test blob-2.4 {
# Try to bind a blob value to a prepared statement.
do_test blob-3.0 {
- set DB [sqlite3 db2 test.db]
+ sqlite3 db2 test.db
+ set DB [sqlite3_connection_pointer db2]
set STMT [sqlite3_prepare $DB "DELETE FROM t1 WHERE a = ?" -1 DUMMY]
sqlite3_bind_blob $STMT 1 "\x12\x34\x56" 3
sqlite3_step $STMT