Comparing version 0.3.1 to 0.3.2
@@ -38,3 +38,3 @@ var mysql = require('mysql'); | ||
var handler = handleResults.bind(this, Column, callback); | ||
this.client.query("select * from information_schema.columns where table_name = ?", [tableName], handler); | ||
this.client.query("select * from information_schema.columns where table_schema = ? and table_name = ?", [this.client.database, tableName], handler); | ||
}; | ||
@@ -41,0 +41,0 @@ |
@@ -11,3 +11,3 @@ { | ||
"description": "Relational database metadata extraction library", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "main": "./lib/db-meta.js", |
39750