mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
MDL-30147 dml - mysql and no params now behaving "standard"
This commit is contained in:
parent
a8097d6dda
commit
870896eca1
2 changed files with 19 additions and 17 deletions
|
@ -435,7 +435,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
|||
$sql = "SHOW COLUMNS FROM {$this->prefix}$table";
|
||||
$this->query_start($sql, null, SQL_QUERY_AUX);
|
||||
$result = $this->mysqli->query($sql);
|
||||
$this->query_end($result);
|
||||
$this->query_end(true); // Don't want to throw anything here ever. MDL-30147
|
||||
|
||||
if ($result === false) {
|
||||
return array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue