Skip to content

Commit cf7a34d

Browse files
committed
Merge pull request #19 from ihnorton/pull-request/90c02c9d
Fix error
2 parents 641d89a + 90c02c9 commit cf7a34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SQLite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function connect(file::String)
4545
global sqlitedb
4646
handle = Array(Ptr{Void},1)
4747
if @FAILED sqlite3_open(file,handle)
48-
error("[sqlite]: Error opening $file; $(bytestring(sqlite3_errmsg(conn.handle)))")
48+
error("[sqlite]: Error opening $file; $(bytestring(sqlite3_errmsg(sqlitedb.handle)))")
4949
else
5050
return (sqlitedb = SQLiteDB(file,handle[1],null_resultset))
5151
end

0 commit comments

Comments
 (0)