BUG FIX: allTablesSQL function now included

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72924 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2009-03-11 22:00:01 +00:00
parent 53d551d2e6
commit 586a1888ee

View File

@ -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.