Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.8, 3.9.1, 3.10
-
Component/s: Database SQL/XMLDB
-
Labels:
Description
The information included in the exception thrown when oci_parse fails in the Oracle DML parse_query method could be improved (see also the TODO): https://github.com/moodle/moodle/blob/a5f618d6a988547c31da73f2e5fff48c48c776fb/lib/dml/oci_native_moodle_database.php#L346-L358
I hit an exception in a unit test for Workplace that simply stated: "Can not parse sql query"