diff options
author | alecpl <alec@alec.pl> | 2010-05-19 09:53:36 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-05-19 09:53:36 +0000 |
commit | b00ba6e6de83aba46926b7595a41e51a34300fcc (patch) | |
tree | e6d0387725ba9b5d5fb3c7540e61c9fe5a8c7357 /program/lib/MDB2/Driver | |
parent | 9d5c834332e553429b5b4c700acea6927d496d6a (diff) |
- Fix infinite loop when connection to DB fails using sqlsrv driver (#1486744)
Diffstat (limited to 'program/lib/MDB2/Driver')
-rw-r--r-- | program/lib/MDB2/Driver/sqlsrv.php | 3 |
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;
}
|