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.
@@ -1208,13 +1208,7 @@ export class MysqlQueryRunner extends BaseQueryRunner {
1208
1208
  if (!database) {
1209
1209
  database = currentDatabase;
1210
1210
  }
1211
- return `
1212
- SELECT \`TABLE_SCHEMA\`,
1213
- \`TABLE_NAME\`
1214
- FROM \`INFORMATION_SCHEMA\`.\`TABLES\`
1215
- WHERE \`TABLE_SCHEMA\` = '${database}'
1216
- AND \`TABLE_NAME\` = '${name}'
1217
- `;
1211
+ return `SELECT \`TABLE_SCHEMA\`, \`TABLE_NAME\` FROM \`INFORMATION_SCHEMA\`.\`TABLES\` WHERE \`TABLE_SCHEMA\` = '${database}' AND \`TABLE_NAME\` = '${name}'`;
1218
1212
  })
1219
1213
  .join(" UNION ");
1220
1214
  dbTables.push(...(await this.query(tablesSql)));