mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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';
|
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
|
* 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.
|
* NOTE: Experimental; introduced for db-abstraction and may changed before 2.4 is released.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user