mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
53d551d2e6
commit
586a1888ee
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user