mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Ensure the database schema has been loaded and the database encoding gleaned before beginning to code a multi-row VALUES clause.
FossilOrigin-Name: 2ff476eb3d1f4a2146f4a48b57895a00a3ff5beb29afa679ae53ea58cac07c76
This commit is contained in:
@ -419,6 +419,22 @@ do_catchsql_test 13.1 {
|
||||
VALUES(300), (zeroblob(300) OVER win);
|
||||
} {1 {zeroblob() may not be used as a window function}}
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
reset_db
|
||||
do_execsql_test 14.1 {
|
||||
PRAGMA encoding = utf16;
|
||||
CREATE TABLE t1(a, b);
|
||||
} {}
|
||||
|
||||
db close
|
||||
sqlite3 db test.db
|
||||
|
||||
do_execsql_test 14.2 {
|
||||
INSERT INTO t1 VALUES
|
||||
(17, 'craft'),
|
||||
(16, 'urtlek' IN(1,2,3));
|
||||
}
|
||||
|
||||
|
||||
finish_test
|
||||
|
||||
|
Reference in New Issue
Block a user