diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2009-12-09 00:41:55 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2009-12-09 00:41:55 +0100 |
commit | f265c3e866616d98ff117243d05f88f1a0782ea2 (patch) | |
tree | 40e58cdd68a852a28378addb6c24f5292b33b860 /lib/impure | |
parent | bfef39246055769ae400c3db4c462bc947222d2c (diff) | |
download | Nim-f265c3e866616d98ff117243d05f88f1a0782ea2.tar.gz |
bugfix: inconsequent tuple usage
Diffstat (limited to 'lib/impure')
-rwxr-xr-x | lib/impure/db_postgres.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/db_postgres.nim b/lib/impure/db_postgres.nim index b9d0b068f..7cd93a540 100755 --- a/lib/impure/db_postgres.nim +++ b/lib/impure/db_postgres.nim @@ -164,7 +164,7 @@ proc dbClose*(db: TDbConn) = if db != nil: PQfinish(db) proc dbOpen*(connection, user, password, database: string): TDbConn = - ## opens a database connection. Returns nil in case of an error. + ## opens a database connection. result = PQsetdbLogin(nil, nil, nil, nil, database, user, password) if PQStatus(result) != CONNECTION_OK: dbError(result) # result = nil |