mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 12:43:58 +00:00
fix
This commit is contained in:
@@ -115,7 +115,7 @@ async function handleDatabaseOp(op, { msgid, name }) {
|
|||||||
const dmp = driver.createDumper();
|
const dmp = driver.createDumper();
|
||||||
dmp[op](name);
|
dmp[op](name);
|
||||||
logger.info({ sql: dmp.s }, 'Running script');
|
logger.info({ sql: dmp.s }, 'Running script');
|
||||||
await driver.query(systemConnection, dmp.s);
|
await driver.query(systemConnection, dmp.s, { discardResult: true });
|
||||||
}
|
}
|
||||||
await handleRefresh();
|
await handleRefresh();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user