We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1467366 commit ed91ef0Copy full SHA for ed91ef0
test/runtests.jl
@@ -906,6 +906,13 @@ function Base.iterate(::UnknownSchemaTable, st = 1)
906
st == 4 ? nothing : ((a = 1, b = 2 + st, c = 3 + st), st + 1)
907
end
908
909
+@testset "SQLite Open Flags" begin
910
+ @test_throws SQLiteException("unable to open database file") SQLite.DB("file:test.db?mode=ro")
911
+
912
+ db = SQLite.DB("file:test.db?mode=rwc")
913
+ @test db isa SQLite.DB
914
+end
915
916
@testset "misc" begin
917
918
# https://github.com/JuliaDatabases/SQLite.jl/issues/259
0 commit comments