typeorm 0.3.4-dev.d2cfd22 → 0.3.5-dev.9ac8e9e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1211,13 +1211,7 @@ class MysqlQueryRunner extends BaseQueryRunner_1.BaseQueryRunner {
1211
1211
  if (!database) {
1212
1212
  database = currentDatabase;
1213
1213
  }
1214
- return `
1215
- SELECT \`TABLE_SCHEMA\`,
1216
- \`TABLE_NAME\`
1217
- FROM \`INFORMATION_SCHEMA\`.\`TABLES\`
1218
- WHERE \`TABLE_SCHEMA\` = '${database}'
1219
- AND \`TABLE_NAME\` = '${name}'
1220
- `;
1214
+ return `SELECT \`TABLE_SCHEMA\`, \`TABLE_NAME\` FROM \`INFORMATION_SCHEMA\`.\`TABLES\` WHERE \`TABLE_SCHEMA\` = '${database}' AND \`TABLE_NAME\` = '${name}'`;
1221
1215
  })
1222
1216
  .join(" UNION ");
1223
1217
  dbTables.push(...(await this.query(tablesSql)));