MDL-45171 log reports: fix sql for cross support
commit6b139edaf91f8a4e98c3e8dd95ef8502cc73b1c8
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 18 Apr 2014 15:34:06 +0000 (18 17:34 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 18 Apr 2014 15:34:06 +0000 (18 17:34 +0200)
tree50ca2117fa6cfd870a133f823495e306ef996ba8
parenta0461340ff24a1a0efc6b34b083e3a113ab457b8
MDL-45171 log reports: fix sql for cross support

Rules for cross-db support are:

- Always use the 'AS' keyword for columns.
- Never use the 'AS' keyword for tables/views.
report/log/classes/table_log.php
report/loglive/classes/table_log.php