-
Bug
-
Resolution: Fixed
-
Minor
-
2.0.4, 2.1.1, 2.2
-
MySQL
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
Playing with other modifications in the XMLDB Editor, I detected that the builtin "Check defaults" report was showing persistently some errors in 4 float columns. And that happened in brand new installed sites and only under MySQL.
After investigating a bit these was detected:
- float columns without length & decimal specs (allowed) aren't handled by mysql->get_columns() method. It is currently expecting always the length and decimal specs to exist. So fails badly for float columns not having them.
- float columns and some bits of decimal columns aren't covered by unit tests.
So here we go trying to fix both problems.
- has been marked as being related by
-
MDL-29567 Fix problem with negative defaults under PostgreSQL and associated tests
- Closed