New cross-db version of the big union query used by get_my_courses() function.
authorstronk7 <stronk7>
Sun, 22 Jul 2007 00:56:42 +0000 (00:56 +0000)
committerstronk7 <stronk7>
Sun, 22 Jul 2007 00:56:42 +0000 (00:56 +0000)
commitae7dc0d1e00818846283b8a29590ced87e638db4
treee326edebf9f5006f335aa96a8faafa06e3ed8b32
parent23207a1a6a890250f28645401940270a5bafc187
New cross-db version of the big union query used by get_my_courses() function.
I've tested both the "IN" subquery and the "FROM" subquery and, under sites
with more courses, the "FROM" one seems to perform slightly better. MDL-9381

Merged from MOODLE_18_STABLE
lib/datalib.php