Fix: Avoid endlessly dbstructure changes
This commit is contained in:
parent
b53e74d989
commit
b9811f1bef
1 changed files with 3 additions and 3 deletions
|
@ -322,8 +322,8 @@ class DBStructure
|
||||||
$parameters['comment'] = "";
|
$parameters['comment'] = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$current_field_definition = implode(",", $field_definition);
|
$current_field_definition = dba::clean_query(implode(",", $field_definition));
|
||||||
$new_field_definition = implode(",", $parameters);
|
$new_field_definition = dba::clean_query(implode(",", $parameters));
|
||||||
if ($current_field_definition != $new_field_definition) {
|
if ($current_field_definition != $new_field_definition) {
|
||||||
$sql2 = self::modifyTableField($fieldname, $parameters);
|
$sql2 = self::modifyTableField($fieldname, $parameters);
|
||||||
if ($sql3 == "") {
|
if ($sql3 == "") {
|
||||||
|
|
Loading…
Reference in a new issue