Comparing version 0.1.11 to 0.1.12
@@ -168,3 +168,3 @@ var lookup = require('dns').lookup, | ||
Client.prototype.query = function(query, values, useArray, promote) { | ||
var results; | ||
var results, self = this; | ||
@@ -183,3 +183,7 @@ if (Array.isArray(values) || typeof values === 'object') | ||
this._queries.push(results); | ||
this._processQueries(); | ||
// queries can actually start emitting results before the results object is | ||
// returned here, so we defer processing until the next tick | ||
process.nextTick(function() { self._processQueries(); }); | ||
return results; | ||
@@ -186,0 +190,0 @@ }; |
{ "name": "mariasql", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"author": "Brian White <mscdex@mscdex.net>", | ||
@@ -4,0 +4,0 @@ "description": "A node.js binding to MariaDB's non-blocking (MySQL-compatible) client library", |
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
19398716
308