Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79312

Improve the sql debugging

Details

    Description

      In MDL-68874 we added the option to add some sql comments to help debug things. Proposing to tweak this:

      1. Add in $ME so its easier to trace sql to a specific web request
      2. Add in the currently logged in moodle user
      3. 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

      Attachments

        Issue Links

          Activity

            People

              brendanheywood Brendan Heywood
              brendanheywood Brendan Heywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: