memcache-lock.inc should include dmemcache.inc (using require_once) just like memcache.inc and memcache-session.inc do.

I got a fatal error about dmemcache_get() being undefined while running install.php ($conf['lock_inc'] was already defined in my settings.php).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

c960657’s picture

Status: Active » Needs review
FileSize
1.16 KB
catch’s picture

Status: Needs review » Fixed

Committed to 7.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

neclimdul’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Patch (to be ported)
FileSize
1.26 KB

Should be backported to d6(at least memcache-lock.inc doesn't have this which just bit me).

The results of cherry-picking catch's commit attaches as a format-patch. There was one conflict of the require_once already existing.

neclimdul’s picture

Status: Patch (to be ported) » Needs review

Guess really this is NR