Browse Source

fix: avoid overriding sqlClient

pull/7443/head
mertmit 11 months ago
parent
commit
bb93c26387
  1. 2
      packages/nocodb/src/db/sql-client/lib/mysql/MysqlClient.ts

2
packages/nocodb/src/db/sql-client/lib/mysql/MysqlClient.ts

@ -316,8 +316,6 @@ class MysqlClient extends KnexClient {
log.debug('Create database if not exists', data);
// create new knex client
this.sqlClient = knex(this.connectionConfig);
await tempSqlClient.destroy();
} catch (e) {
log.ppe(e, func);

Loading…
Cancel
Save