Bug #6206 - Quiz can't be created on some mysql configurations. Merged from MOODLE_1.6_STABLE.
Bug #6206 - Quiz can't be created on some mysql configurations. Merged from MOODLE_1.6_STABLE.

dilawar/moodle