From eec9c26a44f3a62ef426f9ac326ff36269a77d7b Mon Sep 17 00:00:00 2001 From: Dmytro Horytskyi Date: Mon, 19 Aug 2019 08:21:01 +0000 Subject: [PATCH] MC-19407: Number of the rows increase very fast in changelog table --- lib/internal/Magento/Framework/Mview/View/Subscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/Mview/View/Subscription.php b/lib/internal/Magento/Framework/Mview/View/Subscription.php index 67dff1a2cc5db..ddfa39f0a089f 100644 --- a/lib/internal/Magento/Framework/Mview/View/Subscription.php +++ b/lib/internal/Magento/Framework/Mview/View/Subscription.php @@ -214,7 +214,7 @@ protected function buildStatement($event, $changelog) $columns = []; foreach ($columnNames as $columnName) { $columns[] = sprintf( - 'NEW.%1$s <=> OLD.%1$s', + 'NOT(NEW.%1$s <=> OLD.%1$s)', $this->connection->quoteIdentifier($columnName) ); }