Skip to content

Commit 9ca40f2

Browse files
author
Oleksii Korshenko
authored
ENGCOM-1260: [Forwardport] #14465 Fix empty changelog tables after MySQL restart. #14635
2 parents ce119d9 + e36ff9f commit 9ca40f2

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
@@ -121,7 +121,7 @@ public function clear($versionId)
121121
throw new ChangelogTableNotExistsException(new Phrase("Table %1 does not exist", [$changelogTableName]));
122122
}
123123

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

126126
return true;
127127
}

0 commit comments

Comments
 (0)