pixmicat

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/ @ 881  →  / @ 882
/PIO/lib/pio/pio.sqlite3.php
@@ -31,7 +31,7 @@
 
/* PIO模組版本 */
function pioVersion(){
return '0.6 (v20130102)';
return '0.6 (v20130221)';
}
 
/* 處理連線字串/連接 */
@@ -86,7 +86,7 @@
public function dbPrepare($reload=false, $transaction=false){
if($this->prepared) return true;
 
($this->con = new PDO($this->DSN, '', '', array(PDO::ATTR_PERSISTENT => true))) or $this->_error_handler('Open database failed', __LINE__);
($this->con = new PDO($this->DSN)) or $this->_error_handler('Open database failed', __LINE__);
$this->useTransaction = $transaction;
if($transaction) @$this->con->beginTransaction(); // 啟動交易性能模式