Skip to content

Commit

Permalink
Renamed one too many
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Feb 20, 2024
1 parent 0895e7d commit 579def3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/read.jl
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ end
function exists(db::DB, tablename::String)
query = execute(
db,
"SELECT name FROM sqlite_master WHERE node_type='table' AND name=$(esc_id(tablename)) COLLATE NOCASE",
"SELECT name FROM sqlite_master WHERE type='table' AND name=$(esc_id(tablename)) COLLATE NOCASE",
)
return !isempty(query)
end
Expand Down

0 comments on commit 579def3

Please sign in to comment.