Closed (fixed)
Project:
Auto Expire
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Jun 2009 at 23:46 UTC
Updated:
3 Aug 2009 at 21:20 UTC
Instead of having different SQL queries for different db types (mysql/pgsql) as this module does now to handle date/time values, I'd rather use one query that will work on any db type. The patch attached should work in theory, but I have no pgsql testing environment at the moment. I'm also curious if anyone sees any disadvantages to this approach. Tests, reviews and opinions are very welcome.
| Comment | File | Size | Author |
|---|---|---|---|
| auto_expire_no_db_switching.patch | 3.42 KB | marcvangend |
Comments
Comment #1
marcvangendTested, discussed on IRC and committed to HEAD.