Use double quotes for table name when fetching table contents, fixes #16

This commit is contained in:
Dan Sosedoff 2014-10-27 21:04:42 -05:00
parent 8cba657773
commit 7f9344a572

View File

@ -148,7 +148,7 @@ function showTableContent() {
return;
}
var query = "SELECT * FROM " + name + " LIMIT 100;";
var query = "SELECT * FROM \"" + name + "\" LIMIT 100;";
executeQuery(query, function(data) {
buildTable(data);