From b00ba6e6de83aba46926b7595a41e51a34300fcc Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 19 May 2010 05:53:36 -0400
Subject: [PATCH] - Fix infinite loop when connection to DB fails using sqlsrv driver (#1486744)

---
 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 50205b7..70f9780 100644
--- a/program/lib/MDB2/Driver/sqlsrv.php
+++ b/program/lib/MDB2/Driver/sqlsrv.php
@@ -113,9 +113,6 @@
     function errorInfo($error = null, $connection = null)
     {
         if (null === $connection) {
-			if (!$this->connection) {
-                $this->connect();
-            }
             $connection = $this->connection;
         }
 

--
Gitblit v1.9.1