不要怂,就是干,撸起袖子干!

Commit 106204fa by Matt Broadstone

fix attempt to call bulkBuild on invalid return value from formatResults

1 parent 55df0a2d
Showing with 0 additions and 2 deletions
...@@ -143,8 +143,6 @@ module.exports = (function() { ...@@ -143,8 +143,6 @@ module.exports = (function() {
result = data.length; result = data.length;
} else if (this.isBulkDeleteQuery()){ } else if (this.isBulkDeleteQuery()){
result = data[0].AFFECTEDROWS; result = data[0].AFFECTEDROWS;
} else{
result = this.handleSelectQuery(data);
} }
} else if (!result) { } else if (!result) {
result = data; result = data;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!