FIX Use a function common to MySQL, SQLite and PostgreSQL to test dynamic DBFIeld assigment

This commit is contained in:
Maxime Rainville 2019-02-26 14:20:14 +13:00
parent adbc560bd7
commit bd92969418

View File

@ -35,7 +35,7 @@ class MockDynamicAssignmentDBField extends Boolean
{ {
if ($value) { if ($value) {
return $this->dynamicAssignment return $this->dynamicAssignment
? array('GREATEST(?, ?)' => array(0, 1)) ? array('ABS(?)' => array(1))
: 1; : 1;
} }