initial fix for MSSQL
This commit is contained in:
parent
6f13a35513
commit
28d2379c43
|
@ -703,11 +703,11 @@ class DoctrineStatementWrapper {
|
|||
}
|
||||
|
||||
private function tryFixSubstringLastArgumentDataForMSSQL($input) {
|
||||
$query = $this->statement->queryString;
|
||||
$query = $this->statement->getWrappedStatement()->queryString;
|
||||
$pos = stripos ($query, 'SUBSTRING');
|
||||
|
||||
if ( $pos === false) {
|
||||
return;
|
||||
return $input;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue