Skip to content

Commit

Permalink
MDL-15181 fixed mysql drop table regression
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 10, 2008
1 parent 08a7ead commit dfba1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ddl/mysql_sql_generator.php
Expand Up @@ -137,7 +137,7 @@ public function getCreateTempTableSQL($xmldb_table) {
* Given one correct xmldb_table and the new name, returns the SQL statements
* to drop it (inside one array)
*/
public function getDropTableSQL($xmldb_table) {
public function getDropTempTableSQL($xmldb_table) {
$sqlarr = parent::getDropTableSQL($xmldb_table);
$sqlarr = preg_replace('/^DROP TABLE/', "DROP TEMPORARY TABLE", $sqlarr);
return $sqlarr;
Expand Down

0 comments on commit dfba1c3

Please sign in to comment.