mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:57 +01:00
we can not trust in the right order of columns
This commit is contained in:
parent
691f95cb19
commit
e9c2659778
@ -565,7 +565,7 @@
|
||||
|
||||
$oProc->m_odb->query($query);
|
||||
$this->_GetColumns($oProc, $sTableName . '_tmp', $sColumns, $sColumnName);
|
||||
$query = "INSERT INTO $sTableName SELECT $sColumns FROM $sTableName" . '_tmp';
|
||||
$query = "INSERT INTO $sTableName($sColumns) SELECT $sColumns FROM $sTableName" . '_tmp';
|
||||
$bRet = !!($oProc->m_odb->query($query));
|
||||
return ($bRet && $this->DropTable($oProc, $aTables, $sTableName . '_tmp'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user