Skip to content
Snippets Groups Projects
Commit 424a6405 authored by catch's avatar catch
Browse files

Issue #3351113 by a.milkovsky, mostepaniukvm, daffie: Not optimal query in...

Issue #3351113 by a.milkovsky, mostepaniukvm, daffie: Not optimal query in DatabaseBackend::garbageCollection()

(cherry picked from commit 5a53a638)
parent dcf7796a
No related branches found
No related tags found
9 merge requests!8394[warning] array_flip(): Can only flip STRING and INTEGER values, when saving a non-revisionable custom content entity,!7780issue 3443822: fix for 'No route found for the specified format html. Supported formats: json, xml.',!5013Issue #3071143: Table Render Array Example Is Incorrect,!4848Issue #1566662: Update module should send notifications on Thursdays,!4792Issue #2230689: Remove redundant "Italic" style,!4220Issue #3368223: Link field > Access to internal links is not checked on display.,!3884Issue #3356842,!3812Draft: Issue #3339373 by alexpott, andypost, mondrake:...,!1459Issue #3087632: menu_name max length is too long
......@@ -370,7 +370,7 @@ public function garbageCollection() {
$first_invalid_create_time = $this->connection->select($this->bin)
->fields($this->bin, ['created'])
->orderBy("{$this->bin}.created", 'DESC')
->range($this->maxRows, $this->maxRows + 1)
->range($this->maxRows, 1)
->execute()
->fetchField();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment