Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
cache system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Mar 2023 at 15:15 UTC
Updated:
12 Apr 2023 at 21:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mostepaniukvmComment #3
a.milkovskyThis path fixes the typo in query.
Comment #4
daffie commentedThe second parameter for the method
range()for a select query is the number of rows that the query should return. The query also does afetchField()which only needs a single row from the query. Therefor the code change is the correct one.I do not see how we can test change. Without the change is the method
garbageCollection()not failing, it is just a bit slower.For me it is RTBC.
Comment #8
catchGood find. Committed/pushed to 10.1.x, cherry-picked to 10.0.x and 9.5.x, thanks!