Skip to content

Commit 844831f

Browse files
committed
Merge branch 'master' of https://github.com/brianc/node-postgres
2 parents 2ddc553 + 98014d0 commit 844831f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var NativeQuery = function(text, values, callback) {
113113
this.name = text.name;
114114
if(typeof values === 'function') {
115115
this.callback = values;
116-
} else if(typeof values !== 'undefined') {
116+
} else if(values) {
117117
this.values = values;
118118
this.callback = callback;
119119
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ "name": "pg",
2-
"version": "0.5.4",
2+
"version": "0.5.5",
33
"description": "PostgreSQL client - pure javascript & libpq with the same API",
44
"keywords" : ["postgres", "pg", "libpq", "postgre", "database", "rdbms"],
55
"homepage": "http://github.com/brianc/node-postgres",

0 commit comments

Comments
 (0)