Skip to content
Snippets Groups Projects

Draft: Closes #3514117

Open mondrake requested to merge issue/drupal-3514117:3514117-pp-1-use-table into 11.x
56 files
+ 2141
309
Compare changes
  • Side-by-side
  • Inline
Files
56
@@ -128,7 +128,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) {
// ::select() is a much smaller proportion of the request.
$result = [];
try {
$result = $this->connection->query('SELECT [cid], [data], [created], [expire], [serialized], [tags], [checksum] FROM {' . $this->connection->escapeTable($this->bin) . '} WHERE [cid] IN ( :cids[] ) ORDER BY [cid]', [':cids[]' => array_keys($cid_mapping)]);
$result = $this->connection->query('SELECT [cid], [data], [created], [expire], [serialized], [tags], [checksum] FROM {' . $this->bin . '} WHERE [cid] IN ( :cids[] ) ORDER BY [cid]', [':cids[]' => array_keys($cid_mapping)]);
}
catch (\Exception) {
// Nothing to do.
Loading