Hi guys, I'm in trouble with sql debuggin
Scope:
I'd like to view "effective" sql statements processed on report module
Attempts:
I've added $DB->set_debug(true); at the beginning of /mod/quiz/report.php and, actually, what I see is , as expected, a list of all the queries processed, BUT they appears like
SELECT * FROM mdl_quiz_feedback WHERE quizid = ? [array ( 0 => '3', )]
Is there a way to see statements AFTER params substitutions?
I've also tried to edit "query_end" function (/lib/dml/moodle_database.php) , but even $this->last_sql contains SQL statements with placeholders.
...So
Does someone have any suggestion?
Thks in advance