Changeset 17154 for branches/comu-utf8


Ignore:
Timestamp:
2008/03/13 21:06:18 (16 years ago)
Author:
shutta
Message:

DB接続の持続的接続オプション(チケット #249)

Location:
branches/comu-utf8/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-utf8/data/class/SC_DbConn.php

    r16100 r17154  
    2727        // Debugモード指定 
    2828        $options['debug'] = PEAR_DB_DEBUG; 
     29        // 持続的接続オプション 
     30        $options['persistent'] = PEAR_DB_PERSISTENT; 
     31 
    2932        // 既に接続されていないか、新規接続要望の場合は接続する。 
    3033        if(!isset($objDbConn->connection) || $new) { 
  • branches/comu-utf8/data/conf/conf.php

    r16100 r17154  
    126126// PEAR::DBのデバッグモード 
    127127define('PEAR_DB_DEBUG', 9); 
     128// PEAR::DBの持続的接続オプション 
     129define('PEAR_DB_PERSISTENT', false); 
    128130 
    129131//バッチを実行する最短の間隔(秒) 
Note: See TracChangeset for help on using the changeset viewer.