1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Allow parameters to be introduced by characters ':', '$' and '#'. This

is an experimental change. (CVS 2523)

FossilOrigin-Name: f3427a139c3bd4faf9134ec6290b3eb829c0a19f
This commit is contained in:
drh
2005-06-22 08:48:06 +00:00
parent edef8fcd73
commit 288d37f1b4
5 changed files with 50 additions and 63 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script testing the sqlite_bind API.
#
# $Id: bind.test,v 1.31 2005/03/20 23:18:58 drh Exp $
# $Id: bind.test,v 1.32 2005/06/22 08:48:07 drh Exp $
#
set testdir [file dirname $argv0]
@ -104,13 +104,13 @@ ifcapable {tclvar} {
execsql {
DELETE FROM t1;
}
set VM [sqlite3_prepare $DB {INSERT INTO t1 VALUES($one,$::two,${x{y}z})}\
set VM [sqlite3_prepare $DB {INSERT INTO t1 VALUES($one,$::two,$x(-z-))}\
-1 TX]
set TX
} {}
set v1 {$one}
set v2 {$::two}
set v3 {${x{y}z}}
set v3 {$x(-z-)}
}
ifcapable {!tclvar} {
do_test bind-2.1 {