summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-05-19 09:53:36 +0000
committeralecpl <alec@alec.pl>2010-05-19 09:53:36 +0000
commitb00ba6e6de83aba46926b7595a41e51a34300fcc (patch)
treee6d0387725ba9b5d5fb3c7540e61c9fe5a8c7357 /program/lib
parent9d5c834332e553429b5b4c700acea6927d496d6a (diff)
- Fix infinite loop when connection to DB fails using sqlsrv driver (#1486744)
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/MDB2/Driver/sqlsrv.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/program/lib/MDB2/Driver/sqlsrv.php b/program/lib/MDB2/Driver/sqlsrv.php
index 50205b7f4..70f978020 100644
--- a/program/lib/MDB2/Driver/sqlsrv.php
+++ b/program/lib/MDB2/Driver/sqlsrv.php
@@ -113,9 +113,6 @@ class MDB2_Driver_sqlsrv extends MDB2_Driver_Common
function errorInfo($error = null, $connection = null)
{
if (null === $connection) {
- if (!$this->connection) {
- $this->connect();
- }
$connection = $this->connection;
}