mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix to the register validity tracking logic in debug builds. No impact
on release builds. FossilOrigin-Name: 0a500da6aa659a8e73206e6d22ddbf2da5e4f1d1d551eeb66433163a3e13109d
This commit is contained in:
@ -1459,5 +1459,22 @@ do_execsql_test func-33.20 {
|
||||
INSERT INTO t33b(x,y) VALUES(testdirectonly(new.aaa),new.b);
|
||||
END}}
|
||||
|
||||
# 2020-01-09 Yongheng fuzzer find
|
||||
# The bug is in the register-validity debug logic, not in the SQLite core
|
||||
# and as such it only impacts debug builds. Release builds work fine.
|
||||
#
|
||||
reset_db
|
||||
do_execsql_test func-34.10 {
|
||||
CREATE TABLE t1(a INT CHECK(
|
||||
datetime( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
||||
10,11,12,13,14,15,16,17,18,19,
|
||||
20,21,22,23,24,25,26,27,28,29,
|
||||
30,31,32,33,34,35,36,37,38,39,
|
||||
40,41,42,43,44,45,46,47,48,a)
|
||||
)
|
||||
);
|
||||
INSERT INTO t1(a) VALUES(1),(2);
|
||||
SELECT * FROM t1;
|
||||
} {1 2}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user