Skip to content

Commit 10cff2c

Browse files
committed
Add a few recommendations from Sean
1 parent 7a5698b commit 10cff2c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/SQLite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ rollback(db) = execute!(db, "ROLLBACK TRANSACTION;")
230230
"rollback transaction or named savepoint"
231231
rollback(db, name) = execute!(db, "ROLLBACK TRANSACTION TO SAVEPOINT $(name);")
232232

233-
"drop the SQLite table `table` from the database `db`; `ifexists=true` will not return an error if `table` doesn't exist"
233+
"drop the SQLite table `table` from the database `db`; `ifexists=true` will prevent an error being thrown if `table` doesn't exist"
234234
function drop!(db::DB,table::AbstractString;ifexists::Bool=false)
235235
exists = ifexists ? "if exists" : ""
236236
transaction(db) do

src/Sink.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
sqlitetype{T<:Integer}(::Type{T}) = "INT"
22
sqlitetype{T<:AbstractFloat}(::Type{T}) = "REAL"
33
sqlitetype{T<:AbstractString}(::Type{T}) = "TEXT"
4+
sqlitetype(::Type{NullType}) = "NULL"
45
sqlitetype(x) = "BLOB"
56
"SQLite.Sink implements the `Sink` interface in the `DataStreams` framework"
67
type Sink <: Data.Sink # <: IO

0 commit comments

Comments
 (0)