From a67b9a77f96edcbdb52a1681df1e4d20308ef9cf Mon Sep 17 00:00:00 2001 From: Geoff Munn Date: Mon, 6 Apr 2009 03:41:45 +0000 Subject: [PATCH] debug data enabled --- code/MSSQLDatabase.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/MSSQLDatabase.php b/code/MSSQLDatabase.php index 0d3ee0f..8f4dfe7 100644 --- a/code/MSSQLDatabase.php +++ b/code/MSSQLDatabase.php @@ -167,15 +167,15 @@ class MSSQLDatabase extends Database { $starttime = microtime(true); } - //echo 'sql: ' . $sql . '
'; + echo 'sql: ' . $sql . '
'; //Debug::backtrace(); - $funcName=$this->funcPrefix . '_query'; + //$funcName=$this->funcPrefix . '_query'; if($this->funcPrefix=='mssql') - $handle = $funcName($sql, $this->dbConn); + $handle = mssql_query($sql, $this->dbConn); else - $handle = $funcName($this->dbConn, $sql); + $handle = sqlsrv_query($this->dbConn, $sql); if(isset($_REQUEST['showqueries'])) { $endtime = round(microtime(true) - $starttime,4);