Fix the typo

This commit is contained in:
Raymond Feng 2015-05-14 08:39:36 -07:00
parent 4c11dbfeb2
commit c5d3b67bfe
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ function mixinDiscovery(MySQL, mysql) {
sqlTables = paginateSQL('SELECT \'table\' AS "type",' +
' table_name AS "name", table_schema AS "schema"' +
' FROM information_schema.tables' +
' WHERE table_schema=' + mysql.esacpe(schema),
' WHERE table_schema=' + mysql.escape(schema),
'table_schema, table_name', options);
} else {
sqlTables = paginateSQL('SELECT \'table\' AS "type",' +
@ -95,7 +95,7 @@ function mixinDiscovery(MySQL, mysql) {
' table_name AS "name",' +
' table_schema AS "owner"' +
' FROM information_schema.views' +
' WHERE table_schema=' + mysql.esacpe(schema),
' WHERE table_schema=' + mysql.escape(schema),
'table_schema, table_name', options);
} else {
sqlViews = paginateSQL('SELECT \'view\' AS "type",' +