Aleksander Machniak
2012-11-05 f6cd739a0a364fe76f6015b7bc70eac4a3a9bf02
Make sure affected_rows() method returns expected (consistent with other RDBMSes) result on MySQL
1 files modified
3 ■■■■■ changed files
program/include/rcube_db_mysql.php 3 ●●●●● patch | view | raw | blame | history
program/include/rcube_db_mysql.php
@@ -127,6 +127,9 @@
            $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;
    }