Skip to content

Commit d41bc5b

Browse files
author
Anton Evers
committed
Possible fix for integration test scenarios
1 parent 01e20d2 commit d41bc5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ protected function getLinkedViews()
192192
protected function buildStatement($event, $changelog)
193193
{
194194
$columns = [];
195-
if ($describe = $this->connection->describeTable($this->getTableName())) {
195+
if ($this->connection->isTableExists($this->getTableName())
196+
&& $describe = $this->connection->describeTable($this->getTableName())
197+
) {
196198
foreach ($describe as $column) {
197199
if (in_array($column['COLUMN_NAME'], $this->ignoredUpdateColumns)) {
198200
continue;

0 commit comments

Comments
 (0)