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

Omit the omit flat from eq constraints on column "name" of dbstat virtual tables. Fix for [74a4c386].

FossilOrigin-Name: cfff5cb2279088aa66f435bd0d627b2c74c9a99ad9addfd44a4df8ba770b795a
This commit is contained in:
dan
2020-01-04 18:38:58 +00:00
parent 56ea69bf0e
commit 664d80bbf7
4 changed files with 16 additions and 13 deletions

View File

@ -298,6 +298,7 @@ do_catchsql_test 7.2.4 {
SELECT * FROM x3;
} {1 {unrecognized token: "123corp"}}
do_execsql_test 8.1 {
CREATE VIRTUAL TABLE st4 USING dbstat;
}
@ -307,5 +308,11 @@ do_execsql_test 8.2 {
do_execsql_test 8.3 {
SELECT aggregate=1 FROM st4 WHERE aggregate = 5
}
do_execsql_test 8.4 {
SELECT * FROM st4 WHERE name = NULL;
}
do_catchsql_test 8.5 {
SELECT * FROM st4 WHERE schema = NULL;
} {1 {no such schema: }}
finish_test