fix to remove dublicates in none-indexed tables

This commit is contained in:
Ralf Becker 2004-04-03 13:00:19 +00:00
parent b69585b36f
commit 0bfe2bcd98

View File

@ -265,7 +265,7 @@
$Ok = $this->RenameTable($sTableName,$tmp_name) &&
$this->CreateTable($sTableName,$aTableDef) &&
$this->m_odb->query("INSERT INTO $sTableName SELECT $select FROM $tmp_name",__LINE__,__FILE__);
$this->m_odb->query("INSERT INTO $sTableName SELECT DISTINCT $select FROM $tmp_name",__LINE__,__FILE__);
if (!$Ok)
{