Moodle

Purging of query cache is broken

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.8, 1.9
  • Fix Version/s: 1.8.1, 1.9
  • Component/s: Libraries
  • Labels:
    None
  • Environment:
    Moodle 1.8
  • Database:
    Any
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

An uninitialized variable in dmllib breaks the purging of the query cache if memcached or eaccelerator cache is being used.

When the rcache_unset_table function is called, it will fail to expire the query cache for the specified table, and subsequently incorrect results (old data) will be returned by calls to rcache_get.

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Fixed, both in 18_STABLE and HEAD. Thanks Donal!

Show
Eloy Lafuente (stronk7) added a comment - Fixed, both in 18_STABLE and HEAD. Thanks Donal!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: