Comments

obsidiandesign’s picture

StatusFileSize
new1.95 KB

Rerolled against latest head. Applies & works correctly with both MySQL and PostgreSQL. Simpletests run successfully for cache module. +1

lilou’s picture

Title: Patch for ANSI and PDO compatible: cache.inc » Patch for ANSI compatible: cache.inc
StatusFileSize
new1.69 KB
hswong3i’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.79 KB

Just reroll without change. Apply cleanly.

damien tournoud’s picture

Status: Reviewed & tested by the community » Needs work

Please rewrite those using db_delete.

hswong3i’s picture

Status: Needs work » Needs review
StatusFileSize
new1.8 KB

Reroll with db_delete().

c960657’s picture

Status: Needs review » Needs work

Patch no longer applies to HEAD.

hswong3i’s picture

Assigned: Unassigned » hswong3i
Status: Needs work » Needs review
StatusFileSize
new1.78 KB
c960657’s picture

Looks good to me.

Anonymous’s picture

Status: Needs review » Needs work

In order to have consistency we have agreed that you should write

db_delete($table)->condition('expire', CACHE_PERMANENT, '<>')->condition('expire', $cache_flush, '<=')->execute();

Like so

db_delete($table)
  ->condition('expire', CACHE_PERMANENT, '<>')
  ->condition('expire', $cache_flush, '<=')
  ->execute();
hswong3i’s picture

Title: Patch for ANSI compatible: cache.inc » TNG DB + ANSI compatible: cache.inc
Status: Needs work » Needs review
StatusFileSize
new3.01 KB
hswong3i’s picture

Title: TNG DB + ANSI compatible: cache.inc » [TNGDB + ANSI]: cache.inc
Category: bug » task
StatusFileSize
new2.97 KB

Should we have more discussion for this issue, or move it as RTBC?

dries’s picture

Status: Needs review » Fixed

This is RTBC. Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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