Changeset 23373 for branches/version-2_13-dev/data/class
- Timestamp:
- 2014/04/28 12:58:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_Query.php
r23198 r23373 52 52 { 53 53 if ($dsn == '') { 54 $dsn = array('phptype' => DB_TYPE, 55 'username' => DB_USER, 56 'password' => DB_PASSWORD, 57 'protocol' => 'tcp', 58 'hostspec' => DB_SERVER, 59 'port' => DB_PORT, 60 'database' => DB_NAME 61 ); 54 $dsn = array( 55 'phptype' => DB_TYPE, 56 'username' => DB_USER, 57 'password' => DB_PASSWORD, 58 'protocol' => 'tcp', 59 'hostspec' => DB_SERVER, 60 'port' => DB_PORT, 61 'database' => DB_NAME, 62 ); 62 63 } 63 64 … … 68 69 // Debugモード 69 70 'debug' => PEAR_DB_DEBUG, 71 // バッファリング true にするとメモリが解放されない。 72 // 連続クエリ実行時に問題が生じる。 73 'result_buffering' => false, 70 74 ); 71 72 // バッファリング trueにするとメモリが解放されない。73 // 連続クエリ実行時に問題が生じる。74 $options['result_buffering'] = false;75 75 76 76 if ($new) {
Note: See TracChangeset
for help on using the changeset viewer.