mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Remove useless autocommit=0 in db migration script
This commit is contained in:
parent
6ad0344ea5
commit
703b4cc92a
1 changed files with 0 additions and 1 deletions
|
|
@ -200,7 +200,6 @@ class DatabaseMigration {
|
|||
const connection = await DB.pool.getConnection();
|
||||
try {
|
||||
await this.$executeQuery(connection, 'START TRANSACTION;');
|
||||
await this.$executeQuery(connection, 'SET autocommit = 0;');
|
||||
for (const query of transactionQueries) {
|
||||
await this.$executeQuery(connection, query);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue