Skip to content

Commit e742b8f

Browse files
committed
Fix cross-database test compatibility for immutable variables
Renamed test to run only on SQLite since json_extract() is SQLite-specific. Other databases (PostgreSQL, MySQL, MSSQL) have different JSON functions.
1 parent 210fe0d commit e742b8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/sql_test_files/it_works_immutable_variables.sql renamed to tests/sql_test_files/it_works_immutable_variables_nomssql_nopostgres_nomysql.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
-- This test uses json_extract() which is SQLite-specific
12
SET x = 'set_value';
23
SET set_only = 'only_in_set';
34

0 commit comments

Comments
 (0)