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