Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b69aaa2

Browse files
ENGCOM-1261: [Forwardport] magento/magento2#14465 Fix empty changelog tables after MySQL restart. #14636
- Merge Pull Request magento/magento2#14636 from ihor-sviziev/magento2:2.3-develop-PR-port-14471 - Merged commits: 1. 4d29608
2 parents eab1b2d + 4d29608 commit b69aaa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Mview/View/Changelog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function clear($versionId)
122122
throw new ChangelogTableNotExistsException(new Phrase("Table %1 does not exist", [$changelogTableName]));
123123
}
124124

125-
$this->connection->delete($changelogTableName, ['version_id <= ?' => (int)$versionId]);
125+
$this->connection->delete($changelogTableName, ['version_id < ?' => (int)$versionId]);
126126

127127
return true;
128128
}

0 commit comments

Comments
 (0)