Skip to content

Commit

Permalink
Explicitly define type for in condition
Browse files Browse the repository at this point in the history
  • Loading branch information
kandy committed Mar 3, 2020
1 parent f70f1d2 commit 27e1c6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ private function reindexCategoriesBySelect(Select $basicSelect, $whereCondition,
$this->connection->delete($this->tableMaintainer->getMainTmpTable((int)$store->getId()));
$entityIds = $this->connection->fetchCol($query);
$resultSelect = clone $basicSelect;
$resultSelect->where($whereCondition, $entityIds);
$resultSelect->where($whereCondition, $entityIds, \Zend_Db::BIGINT_TYPE);
$this->connection->query(
$this->connection->insertFromSelect(
$resultSelect,
Expand Down

0 comments on commit 27e1c6e

Please sign in to comment.