Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.9.1
-
Fix Version/s: 3.10
-
Component/s: Database SQL/XMLDB
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_39_STABLE
-
Fixed Branches:MOODLE_310_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-68874-db-sql-instrumentation
Description
Sysadmin: I have some sql: xyz, what code is calling this?
Dev: ummm
This happens a lot, the more complicated sql is often constructed from lots of smaller clauses concatenated together so a simple search never works.
Proposing a simple debug mode which when on adds in some extra comment.