]> git.mjollnir.org Git - moodle.git/commit
bug related to postgres - inserts into prefix_exercise_assessments were failing,
authormjollnir_ <mjollnir_>
Fri, 10 Sep 2004 04:42:01 +0000 (04:42 +0000)
committermjollnir_ <mjollnir_>
Fri, 10 Sep 2004 04:42:01 +0000 (04:42 +0000)
commita6c7e600bc4baeba0f84cfbc94ccad18b63b9f5f
tree2df4c404bfb30d8eb7518643653d68c8a9a13f04
parent01a5135d8774994ba2cb4d755c2c322b54a9286a
bug related to postgres - inserts into prefix_exercise_assessments were failing,
because generalcomment and teachercomment were not null and didn't have defaults.
for some reason mysql allows this but postgres complains. I've set empty string defaults and added into mysql for consistency.
mod/exercise/db/mysql.php
mod/exercise/db/mysql.sql
mod/exercise/db/postgres7.php
mod/exercise/db/postgres7.sql
mod/exercise/version.php