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

Commit 999d1e35 by Joshua Perry

Use the correct variable for the table name

1 parent c5104349
Showing with 1 additions and 1 deletions
...@@ -333,7 +333,7 @@ module.exports = (function() { ...@@ -333,7 +333,7 @@ module.exports = (function() {
// Query generators that use information_schema for retrieving table info will just return an empty result set, // Query generators that use information_schema for retrieving table info will just return an empty result set,
// it will not throw an error like built-ins do (e.g. DESCRIBE on MySql). // it will not throw an error like built-ins do (e.g. DESCRIBE on MySql).
if(Utils._.isEmpty(data)) { if(Utils._.isEmpty(data)) {
return Promise.reject('No description found for "' + table + '" table. Check the table name and schema; remember, they _are_ case sensitive.') return Promise.reject('No description found for "' + tableName + '" table. Check the table name and schema; remember, they _are_ case sensitive.')
} else { } else {
return Promise.resolve(data) return Promise.resolve(data)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!