mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-42775-master' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
2e84b4b323
@ -3781,8 +3781,6 @@ class core_dml_testcase extends database_driver_testcase {
|
||||
$this->assertNull($DB->get_field_sql($sql, array('paramvalue' => null)));
|
||||
|
||||
// Check there are not problems with whitespace strings.
|
||||
$sql = "SELECT COALESCE(null, '', null) AS test" . $DB->sql_null_from_clause();
|
||||
$this->assertSame('', $DB->get_field_sql($sql, array()));
|
||||
$sql = "SELECT COALESCE(null, :paramvalue, null) AS test" . $DB->sql_null_from_clause();
|
||||
$this->assertSame('', $DB->get_field_sql($sql, array('paramvalue' => '')));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user