Skip to content

Commit 8d2f23a

Browse files
committed
Fix 0.3 compatibility issues
1 parent 42e6598 commit 8d2f23a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/SQLite.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export NULL, SQLiteDB, SQLiteStmt, ResultSet,
66
if VERSION < v"0.4.0-dev"
77
const AbstractString = String
88
const UInt8 = Uint8
9+
const UInt16 = Uint16
10+
const UInt32 = Uint32
11+
const UInt64 = Uint64
12+
const UInt128 = Uint128
13+
const UInt = Uint
914
end
1015

1116
type SQLiteException <: Exception

test/runtests.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
using Base.Test, SQLite
22

3+
if VERSION < v"0.4.0-dev"
4+
const AbstractString = String
5+
const UInt8 = Uint8
6+
const UInt16 = Uint16
7+
const UInt32 = Uint32
8+
const UInt64 = Uint64
9+
const UInt128 = Uint128
10+
const UInt = Uint
11+
end
12+
313
a = SQLiteDB()
414
b = SQLiteDB(UTF16=true)
515
c = SQLiteDB(":memory:",UTF16=true)

0 commit comments

Comments
 (0)