Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 621 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 621 Revision 1464
Zeile 438... Zeile 438...
438
        // Explicit platform version requested (supersedes auto-detection).
438
        // Explicit platform version requested (supersedes auto-detection).
439
        if (isset($this->params['serverVersion'])) {
439
        if (isset($this->params['serverVersion'])) {
440
            return $this->params['serverVersion'];
440
            return $this->params['serverVersion'];
441
        }
441
        }
Zeile -... Zeile 442...
-
 
442
 
-
 
443
        if (isset($this->params['primary']) && isset($this->params['primary']['serverVersion'])) {
-
 
444
            return $this->params['primary']['serverVersion'];
-
 
445
        }
442
 
446
 
443
        // If not connected, we need to connect now to determine the platform version.
447
        // If not connected, we need to connect now to determine the platform version.
444
        if ($this->_conn === null) {
448
        if ($this->_conn === null) {
445
            try {
449
            try {
446
                $this->connect();
450
                $this->connect();
Zeile 1049... Zeile 1053...
1049
 
1053
 
1050
        return new Statement($this, $statement, $sql);
1054
        return new Statement($this, $statement, $sql);
Zeile 1051... Zeile 1055...
1051
    }
1055
    }
1052
 
1056
 
1053
    /**
1057
    /**
1054
     * Executes an, optionally parametrized, SQL query.
1058
     * Executes an, optionally parameterized, SQL query.
1055
     *
1059
     *
1056
     * If the query is parametrized, a prepared statement is used.
1060
     * If the query is parametrized, a prepared statement is used.
1057
     * If an SQLLogger is configured, the execution is logged.
1061
     * If an SQLLogger is configured, the execution is logged.