This might fix the index creation error - will be testing asap.

This commit is contained in:
Miles Lott 2003-12-23 13:54:45 +00:00
parent 0b2abd610b
commit 82e79812d3

View File

@ -184,7 +184,8 @@
{ {
$append = True; $append = True;
$ixsql = ''; $ixsql = '';
$index = $sTableName . '_' . $sFields . '_idx'; $ixFields = str_replace(',','_',$sFields);
$index = $sTableName . '_' . $ixFields . '_idx';
return "CREATE INDEX $index ON $sTableName ($sFields);\n"; return "CREATE INDEX $index ON $sTableName ($sFields);\n";
} }