Authored by whb

测试

... ... @@ -380,7 +380,7 @@ abstract class Q_Db_Adapter_Pdo_Abstract
// set the PDO connection to perform case-folding on array keys, or not
$_connection->setAttribute(PDO::ATTR_CASE, $this->_caseFolding);
// always use exceptions.
$_connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);//PDO::ERRMODE_EXCEPTION);
$_connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// 判断环境设置是否开启预处理
if (version_compare(phpversion(), '5.3.6', '<') == true) {
... ...