Changeset 21673


Ignore:
Timestamp:
2012/03/24 13:29:41 (9 years ago)
Author:
Seasoft
Message:

#1716 (Postgres Plus Advanced Server 9.1 対応)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/db/dbfactory/SC_DB_DBFactory_PGSQL.php

    r21544 r21673  
    128128                    CASE 
    129129                        WHEN (SELECT d1.downloadable_days_unlimited FROM dtb_baseinfo d1) = 1 AND $dtb_order_alias.payment_date IS NOT NULL THEN 1 
    130                         WHEN DATE(CURRENT_TIMESTAMP) <= DATE($dtb_order_alias.payment_date + '$downloadable_days days') THEN 1 
     130                        WHEN DATE(CURRENT_TIMESTAMP) <= DATE($dtb_order_alias.payment_date + interval '$downloadable_days days') THEN 1 
    131131                        ELSE 0 
    132132                    END 
Note: See TracChangeset for help on using the changeset viewer.