mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
try to fix test
This commit is contained in:
@@ -49,7 +49,7 @@ const drivers = driverBases.map(driverBase => ({
|
||||
};
|
||||
|
||||
const connection = mysql2.createConnection(options);
|
||||
connection._database_name = database;
|
||||
connection.__database_name__ = database;
|
||||
if (isReadOnly) {
|
||||
await this.query(connection, 'SET SESSION TRANSACTION READ ONLY');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user