Fixed problem with loading Fixtures on MySQL in combination with savepoints

We must now load the fixtures using custom command partdb:fixtures:load
This commit is contained in:
Jan Böhmer 2023-12-05 21:33:29 +01:00
parent 5b3156ccf4
commit 5faeb5dd56
5 changed files with 133 additions and 4 deletions

View file

@ -190,7 +190,6 @@ class ResetAutoIncrementORMPurger implements PurgerInterface, ORMPurgerInterface
//Reseting autoincrement is only supported on MySQL platforms
if ($platform instanceof AbstractMySQLPlatform ) { //|| $platform instanceof SqlitePlatform) {
$connection->beginTransaction();
$connection->executeQuery($this->getResetAutoIncrementSQL($tbl, $platform));
}
}