fixed msql analyser

This commit is contained in:
Jan Prochazka 2023-01-21 10:52:50 +01:00
parent f9f879272b
commit cf07123f51

View File

@ -96,7 +96,7 @@ class MsSqlAnalyser extends DatabaseAnalyser {
this.feedback({ analysingMessage: 'Loading index columns' }); this.feedback({ analysingMessage: 'Loading index columns' });
const indexcolsRows = await this.analyserQuery('indexcols', ['tables']); const indexcolsRows = await this.analyserQuery('indexcols', ['tables']);
this.feedback({ analysingMessage: 'Loading default schema' }); this.feedback({ analysingMessage: 'Loading default schema' });
const defaultSchemaRows = await this.query(this.pool, 'SELECT SCHEMA_NAME() as name'); const defaultSchemaRows = await this.driver.query(this.pool, 'SELECT SCHEMA_NAME() as name');
this.feedback({ analysingMessage: 'Loading table sizes' }); this.feedback({ analysingMessage: 'Loading table sizes' });
const tableSizes = await this.analyserQuery('tableSizes'); const tableSizes = await this.analyserQuery('tableSizes');