Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a6a1afc

Browse files
For updates where newvalue = oldvalue, PDOStatement::rowCount() returns zero #21
1 parent bad17b1 commit a6a1afc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/PDO.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ private function Connect()
8282
//PDO::ATTR_PERSISTENT => true,
8383

8484
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
85-
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true
85+
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true,
86+
PDO::MYSQL_ATTR_FOUND_ROWS => true
8687
)
8788
);
8889
/*

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /