Aleksander Machniak
2013-05-23 db108e37793c7f8fc8ba11f00d0561d1f0bd32c0
program/lib/Roundcube/rcube_db_mysql.php
@@ -126,6 +126,9 @@
        // Always return matching (not affected only) rows count
        $result[PDO::MYSQL_ATTR_FOUND_ROWS] = true;
        // Enable AUTOCOMMIT mode (#1488902)
        $result[PDO::ATTR_AUTOCOMMIT] = true;
        return $result;
    }
@@ -144,7 +147,7 @@
            $result = $this->query('SHOW VARIABLES');
            while ($sql_arr = $this->fetch_array($result)) {
            while ($row = $this->fetch_array($result)) {
                $this->variables[$row[0]] = $row[1];
            }
        }