-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
MDL-43884-master -
-
5
-
BACKEND Sprint 10
For external databases we pass $db->prefix as false while connecting, where as in get_tables() we have the following check:-
if ($this->prefix !== '')
|
This results in empty result as the above condition is never met and the driver considers $prefix to be a valid prefix.
I have noticed this in PGSQL, but this could be a bug with other drivers too.