Skip to content

Commit 31946dd

Browse files
authored
Merge pull request #13 from fragcolor-xyz/master
new nim compiler isNil invalid use fix
2 parents 36fa90c + 2522e35 commit 31946dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

private/connection.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ proc newRethinkClient*(address = "127.0.0.1", port = Port(28015), db: string = "
122122
result.sockConnected = false
123123
result.queryToken = 0
124124

125-
if not db.isNil and db != "":
125+
if db != "":
126126
result.use(db)
127127
when not compileOption("threads"):
128128
proc handshake(r: RethinkClient) {.async.} =

rethinkdb.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.2.3.3"
1+
version = "0.2.3.4"
22
author = "Huy Doan"
33
description = "RethinkDB driver for Nim"
44
license = "MIT"

0 commit comments

Comments
 (0)