-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.1
-
MOODLE_25_STABLE
-
MOODLE_27_STABLE
-
MDL-41359-master -
In the moodle database classes;
- insert_record
- calls get_columns
- which returns array()
insert_record then uses that empty array to contruct a insert_record_raw, which correctly complains there are no columns. There is a coding issue. It's with insert_record, which should throw DML exception when no colums are returned.