Skip to content

Commit db540f6

Browse files
committed
drop table only if the table exists
1 parent 92bfe74 commit db540f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/duckdb_test/appender_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup
1111
end
1212

1313
def safe_drop_table
14-
@con.execute("DROP TABLE #{table};")
14+
@con.execute("DROP TABLE IF EXISTS #{table};")
1515
rescue DuckDB::Error
1616
# ignore DuckDB::Error
1717
end

0 commit comments

Comments
 (0)