Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.3
-
Component/s: Quiz
-
Labels:None
-
Environment:Solaris + Oracle
-
Database:Oracle
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
Description
In some cases following error appears:
ORA-00932: inconsistent datatypes: expected - got CLOB
SELECT * FROM mlquiz_feedback WHERE quizid = 741 AND feedbacktext <>''
- line 677 of lib/dmllib.php: call to debugging()
- line 307 of lib/dmllib.php: call to get_recordset_sql()
- line 290 of lib/dmllib.php: call to record_exists_sql()
- line 346 of mod/quiz/locallib.php: call to record_exists_select()
- line 181 of mod/quiz/view.php: call to quiz_has_feedback()
We need to use the right function out of dmllib.php to generate the SQL for the comparison.