Skip to content

Commit

Permalink
Merge pull request #13 from fragcolor-xyz/master
Browse files Browse the repository at this point in the history
new nim compiler isNil invalid use fix
  • Loading branch information
ba0f3 authored Sep 5, 2018
2 parents 36fa90c + 2522e35 commit 31946dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion private/connection.nim
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ proc newRethinkClient*(address = "127.0.0.1", port = Port(28015), db: string = "
result.sockConnected = false
result.queryToken = 0

if not db.isNil and db != "":
if db != "":
result.use(db)
when not compileOption("threads"):
proc handshake(r: RethinkClient) {.async.} =
Expand Down
2 changes: 1 addition & 1 deletion rethinkdb.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.2.3.3"
version = "0.2.3.4"
author = "Huy Doan"
description = "RethinkDB driver for Nim"
license = "MIT"
Expand Down

0 comments on commit 31946dd

Please sign in to comment.