diff --git a/core/model/MySQLDatabase.php b/core/model/MySQLDatabase.php index 2ca1c429d..ed52d0b89 100644 --- a/core/model/MySQLDatabase.php +++ b/core/model/MySQLDatabase.php @@ -639,6 +639,13 @@ class MySQLDatabase extends Database { return 'int(11) not null auto_increment'; } + /** + * Returns the SQL command to get all the tables in this database + */ + function allTablesSQL(){ + return "SHOW TABLES;"; + } + /** * Returns true if the given table is exists in the current database * NOTE: Experimental; introduced for db-abstraction and may changed before 2.4 is released.