use correct columns for dropping index (does not matter if they contain length or not)

This commit is contained in:
Ralf Becker 2015-08-26 13:07:38 +00:00
parent 81fe3b0472
commit 85477c18a5

View File

@ -1426,7 +1426,7 @@ class schema_proc
// for PostgreSQL we dont use length-limited indexes --> nothing to do
if ($this->m_odb->Type == 'pgsql') continue;
// for MySQL we drop current index and create it with correct length
$this->DropIndex($table, $definition);
$this->DropIndex($table, $columns);
}
$this->CreateIndex($table, $columns, $type == 'uc');
}