This needs tests. Attached is a patch rolled with -w (no whitespace changes) to make the review easier.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | drupal7.tgz.txt | 6.31 KB | chx |
| #2 | memcache.install.txt | 169 bytes | chx |
| #1 | d7_memcache.patch | 13.57 KB | chx |
| d7_memcache.patch | 13.57 KB | chx | |
| d7_review.txt | 9.27 KB | chx |
Comments
Comment #1
chx commentedd'oh clear was not 100% converted from table to bin.
Comment #2
chx commentedInstall.
Comment #3
jeremy commentedCool! Subscribe.
Comment #4
litwol commentedI'm on this too.
Comment #5
chx commentedI snatched the core cache test thrown out isEmpty as we do not implement it changed the classnames, changed the parent setUp and then made it pass. The 0 byte module is important.
Comment #6
chx commentedNote that memcache.inc has two return 0 which should really be return FALSE.
Comment #7
jeremy commentedCVS hates me today, but I have committed your patches -- thanks! I also minimally updated the README and INSTALL file, as the method for enabling memcache has changed a little.
I created a 7.x-dev snapshot which should appear soon.
Leaving this issue open, as we still need to port memcache.db.inc and memcache-session.inc.
Comment #8
jeremy commentedReassigning to the 7.x-1.x-dev branch.
Comment #9
jeremy commentedThe memcache-session.inc port effort can be found here:
#656838: [META] Port sessions to D7
If anyone uses the memcache.db.inc file, feel free to open a new issue for porting that.