mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
drop evtl. existing temp. table eg. from a previous failed upgrade
This commit is contained in:
parent
349b7e11ff
commit
2984e4c79e
@ -722,6 +722,11 @@ class schema_proc
|
||||
}
|
||||
else
|
||||
{
|
||||
// drop evtl. existing temp. table eg. from a previous failed upgrade
|
||||
if (($tables = $this->db->table_names(true)) && in_array($tmp_name, $tables))
|
||||
{
|
||||
$this->DropTable($tmp_name);
|
||||
}
|
||||
$Ok = $this->RenameTable($sTableName,$tmp_name);
|
||||
}
|
||||
$Ok = $Ok && $this->CreateTable($sTableName,$aTableDef) &&
|
||||
|
Loading…
Reference in New Issue
Block a user