try to fix test

This commit is contained in:
Jan Prochazka
2024-09-19 18:23:25 +02:00
parent b1118c7f43
commit be17301c91
7 changed files with 12 additions and 12 deletions

View File

@@ -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');
}