28 lines
517 B
SQL
28 lines
517 B
SQL
# name: test/fuzzer/sqlsmith/current_schemas_null.test
|
|
# description: current_schemas null input
|
|
# group: [sqlsmith]
|
|
|
|
statement ok
|
|
PRAGMA enable_verification
|
|
|
|
statement ok
|
|
CREATE TABLE booleans(bool BOOLEAN);
|
|
|
|
statement ok
|
|
INSERT INTO booleans VALUES(NULL);
|
|
|
|
query I
|
|
SELECT current_schemas(false);
|
|
----
|
|
[]
|
|
|
|
query I
|
|
SELECT current_schemas(NULL);
|
|
----
|
|
NULL
|
|
|
|
statement error
|
|
SELECT current_schemas(ref_0.bool) AS c4 FROM booleans AS ref_0;
|
|
----
|
|
<REGEX>:Not implemented Error.*current_schemas requires a constant input.*
|