summaryrefslogtreecommitdiff
path: root/program/include/rcube_db_mysql.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-06 13:21:11 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-06 13:21:11 +0100
commitc50fa82bec631b018fd6288d97b7813dc86daf20 (patch)
tree5a27bce961af6f98692673c8ad6950145df5f493 /program/include/rcube_db_mysql.php
parent28de3911825bde79ee5a92762940ef310baab737 (diff)
parent37633a6c794fd35ce3cda8766f8583301a090ba4 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/include/rcube_db_mysql.php')
-rw-r--r--program/include/rcube_db_mysql.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_db_mysql.php b/program/include/rcube_db_mysql.php
index 2cdcf3021..6f0acba54 100644
--- a/program/include/rcube_db_mysql.php
+++ b/program/include/rcube_db_mysql.php
@@ -127,6 +127,9 @@ class rcube_db_mysql extends rcube_db
$result[PDO::MYSQL_ATTR_SSL_CA] = $dsn['ca'];
}
+ // Always return matching (not affected only) rows count
+ $result[PDO::MYSQL_ATTR_FOUND_ROWS] = true;
+
return $result;
}