Ignore:
Timestamp:
2011/08/11 19:37:10 (13 years ago)
Author:
shutta
Message:

refs #800 (SQL標準関数を使用する)
CURRENT_TIMESTAMP を使用するように now() を置換。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/helper/SC_Helper_Customer.php

    r21118 r21185  
    4444        $objQuery->begin(); 
    4545 
    46         $array["update_date"] = "now()";    // 更新日 
     46        $array["update_date"] = 'CURRENT_TIMESTAMP';    // 更新日 
    4747 
    4848        // salt値の生成(insert時)または取得(update時)。 
     
    103103            // 作成日 
    104104            if (is_null($array["create_date"])){ 
    105                 $array["create_date"] = "now()"; 
     105                $array["create_date"] = 'CURRENT_TIMESTAMP'; 
    106106            } 
    107107            $objQuery->insert("dtb_customer", $array); 
Note: See TracChangeset for help on using the changeset viewer.