Toggle navigation
Toggle navigation
This project
Loading...
Sign in
other
/
yohomarket
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
e1b7c5fdaeee304b0cb0d1be710a7dcfdeb927c7
1 parent
9f6528fc
PDO有问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
QF1.1/Framework/Q/Db/Adapter/Pdo/Abstract.php
QF1.1/Framework/Q/Db/Adapter/Pdo/Abstract.php
View file @
e1b7c5f
...
...
@@ -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_EXCEPTION
);
//
$_connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// 判断环境设置是否开启预处理
if
(
version_compare
(
phpversion
(),
'5.3.6'
,
'<'
)
==
true
)
{
...
...
Please
register
or
login
to post a comment