Skip to content

Commit ea847d5

Browse files
author
Stanislav Idolov
authored
ENGCOM-1261: [Forwardport] #14465 Fix empty changelog tables after MySQL restart. #14636
2 parents cfd3ca6 + b69aaa2 commit ea847d5

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)