MDL-32434 deprecate drop_temp_table() in favour of drop_table()

This commit is contained in:
Petr Skoda
2012-04-15 12:23:15 +02:00
parent 9b3323b8be
commit a66b2ae4f4
14 changed files with 26 additions and 85 deletions
+1 -10
View File
@@ -660,7 +660,7 @@ abstract class sql_generator {
/**
* Given one correct xmldb_table and the new name, returns the SQL statements
* to drop it (inside one array).
* to drop it (inside one array). Works also for temporary tables.
*
* @param xmldb_table $xmldb_table The table to drop.
* @return array SQL statement(s) for dropping the specified table.
@@ -1290,15 +1290,6 @@ abstract class sql_generator {
*/
abstract public function getCreateTempTableSQL($xmldb_table);
/**
* Given one correct xmldb_table and the new name, returns the SQL statements.
* to drop it (inside one array).
*
* @param xmldb_table $xmldb_table The xmldb_table object instance.
* @return array SQL statements.
*/
abstract public function getDropTempTableSQL($xmldb_table);
/**
* Given one XMLDB Type, length and decimals, returns the DB proper SQL type.
*