mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
sqlsrv_query fixed
This commit is contained in:
parent
1aecbddb6e
commit
25293f7f35
@ -172,7 +172,10 @@ class MSSQLDatabase extends Database {
|
||||
|
||||
$funcName=$this->funcPrefix . '_query';
|
||||
|
||||
$handle = $funcName($sql, $this->dbConn);
|
||||
if($this->funcPrefix=='mssql')
|
||||
$handle = $funcName($sql, $this->dbConn);
|
||||
else
|
||||
$handle = $funcName($this->dbConn, $sql);
|
||||
|
||||
if(isset($_REQUEST['showqueries'])) {
|
||||
$endtime = round(microtime(true) - $starttime,4);
|
||||
|
Loading…
Reference in New Issue
Block a user