-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
In MDL-68874 we added the option to add some sql comments to help debug things. Proposing to tweak this:
- Add in $ME so its easier to trace sql to a specific web request
- Add in the currently logged in moodle user
- Move the comments to the top because various sql tools may only give you the first N bytes of a very large sql which is truncated
- has a non-specific relationship to
-
MDL-81829 Sometimes Whoops breaks and makes it harder to debug the real issue
- Open
- has been marked as being related by
-
MDL-82893 PR only: MDL-79312 - Improve the sql debugging
- Closed
-
MDL-82920 PR only (2): MDL-79312 - Improve the sql debugging
- Closed
-
MDL-68874 Debug option to instrument SQL queries with the PHP code line/stack-trace for better logging
- Closed
- is duplicated by
-
MDL-69887 The stacktrace filtering via $CFG->debugsqltrace has an off by one error
- Closed