Skip to content

Commit 2522e35

Browse files
committed
new nim compiler isNil invalid use fix
1 parent 1a0be6c commit 2522e35

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)