mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290)
FossilOrigin-Name: 4630e11d9a697a7fa29a0a1bbca91da4ad2bde7b
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is creating and dropping virtual tables.
|
||||
#
|
||||
# $Id: vtab1.test,v 1.30 2006/06/23 14:32:09 danielk1977 Exp $
|
||||
# $Id: vtab1.test,v 1.31 2006/06/24 08:51:05 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -763,5 +763,17 @@ do_test vtab1.9-2 {
|
||||
}
|
||||
} {r}
|
||||
|
||||
do_test vtab1.9-3 {
|
||||
set echo_module ""
|
||||
execsql {
|
||||
CREATE VIRTUAL TABLE e USING echo(r, e_log, virtual 1 2 3 varchar(32));
|
||||
}
|
||||
set echo_module
|
||||
} [list \
|
||||
xCreate echo main e r e_log {virtual 1 2 3 varchar(32)} \
|
||||
xSync echo(r) \
|
||||
xCommit echo(r) \
|
||||
]
|
||||
|
||||
finish_test
|
||||
|
||||
|
Reference in New Issue
Block a user