should be it
This commit is contained in:
27
external/duckdb/test/fuzzer/sqlsmith/current_schemas_null.test
vendored
Normal file
27
external/duckdb/test/fuzzer/sqlsmith/current_schemas_null.test
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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.*
|
||||
Reference in New Issue
Block a user