Comparing version 0.5.1 to 0.5.2
10
index.js
@@ -69,10 +69,6 @@ var Libpq = require('libpq'); | ||
//load our result object | ||
pq.getResult(); | ||
while(pq.getResult()) { | ||
if(pq.resultStatus() == 'PGRES_COPY_OUT') break; | ||
}; | ||
//"read until results return null" | ||
//or in our case ensure we only have one result | ||
if(pq.getResult() && pq.resultStatus() != 'PGRES_COPY_OUT') { | ||
return this._readError('Only one result at a time is accepted:' + pq.resultStatus()); | ||
} | ||
var status = pq.resultStatus(); | ||
@@ -79,0 +75,0 @@ switch(status) { |
{ | ||
"name": "pg-native", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "A slightly nicer interface to Postgres over node-libpq", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25988
19
834