mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Add a test case for OP_SoftNull.
FossilOrigin-Name: f29d194e03d6bcc78bf883b77e591dbccada02f0
This commit is contained in:
@ -403,6 +403,16 @@ ifcapable compound {
|
||||
} {1 {all VALUES must have the same number of terms}}
|
||||
}
|
||||
|
||||
# Need for the OP_SoftNull opcode
|
||||
#
|
||||
do_execsql_test insert-11.1 {
|
||||
CREATE TABLE t11a AS SELECT '123456789' AS x;
|
||||
CREATE TABLE t11b (a INTEGER PRIMARY KEY, b, c);
|
||||
INSERT INTO t11b SELECT x, x, x FROM t11a;
|
||||
SELECT quote(a), quote(b), quote(c) FROM t11b;
|
||||
} {123456789 '123456789' '123456789'}
|
||||
|
||||
|
||||
integrity_check insert-99.0
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user