Thomas Bruederli
2013-10-07 120db629b0645033fd6a477b9f96cc8dad589213
Execute connection config queries on db handle direclty
4 files modified
8 ■■■■ changed files
program/lib/Roundcube/rcube_db_mssql.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_db_mysql.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_db_pgsql.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_db_sqlsrv.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_db_mssql.php
@@ -52,7 +52,7 @@
    protected function conn_configure($dsn, $dbh)
    {
        // Set date format in case of non-default language (#1488918)
        $this->query("SET DATEFORMAT ymd");
        $dbh->query("SET DATEFORMAT ymd");
    }
    /**
program/lib/Roundcube/rcube_db_mysql.php
@@ -60,7 +60,7 @@
     */
    protected function conn_configure($dsn, $dbh)
    {
        $this->query("SET NAMES 'utf8'");
        $dbh->query("SET NAMES 'utf8'");
    }
    /**
program/lib/Roundcube/rcube_db_pgsql.php
@@ -36,7 +36,7 @@
     */
    protected function conn_configure($dsn, $dbh)
    {
        $this->query("SET NAMES 'utf8'");
        $dbh->query("SET NAMES 'utf8'");
    }
    /**
program/lib/Roundcube/rcube_db_sqlsrv.php
@@ -52,7 +52,7 @@
    protected function conn_configure($dsn, $dbh)
    {
        // Set date format in case of non-default language (#1488918)
        $this->query("SET DATEFORMAT ymd");
        $dbh->query("SET DATEFORMAT ymd");
    }
    /**