Bug 1827445: Check if a table exists in a quicker way
Without needing to include the lib/ddl.php file, and create
the xmldb table objects
We do this by trying to query the table to return one value
and capture the SQLException if it doesn't exist
The places changed are where we don't manipulate the table - so have
left upgrade places the same as we will need to do things the ddl.php
way anyway
behatnotneeded
Change-Id: Ic38cee95a221a22e644370b308356cf687a1e831
Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
Showing
Please register or sign in to comment