Skip to content

Commit ddb449e

Browse files
committed
MCP-958: Slow MySQL queries of catalog permissions indexers
- Static test fix;
1 parent 40ed758 commit ddb449e

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/DB/Adapter/Pdo

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3563,7 +3563,7 @@ public function insertFromSelect(Select $select, $table, array $fields = [], $mo
35633563
$query = sprintf('%s INTO %s', $query, $this->quoteIdentifier($table));
35643564
$countFieldsInSelect = count($select->getPart(Select::COLUMNS));
35653565
if (empty($fields) && $countFieldsInSelect > 1) {
3566-
$fields = array_slice(
3566+
$fields = array_slice(
35673567
array_keys($this->describeTable($table)),
35683568
0,
35693569
$countFieldsInSelect

0 commit comments

Comments
 (0)