Skip to content

Commit c10d8d6

Browse files
committed
Fix contains deprecation. Also add DataArrays dependency
1 parent b3f57a2 commit c10d8d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SQLite.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module SQLite
22

33
using DataFrames
4+
using DataArrays
45

56
export sqlitedb, readdlmsql, query, createtable, droptable
67

@@ -327,7 +328,7 @@ function search_quoted(s::String, c::Char, i::Integer)
327328
d, j = next(s,i)
328329
end
329330
end
330-
if contains(c,d)
331+
if d in c
331332
return i
332333
end
333334
i = j

0 commit comments

Comments
 (0)