Index: trunk/kernel/include/searchitems.php
===================================================================
diff -u -r191 -r271
--- trunk/kernel/include/searchitems.php (.../searchitems.php) (revision 191)
+++ trunk/kernel/include/searchitems.php (.../searchitems.php) (revision 271)
@@ -437,7 +437,7 @@
//echo $SelectSQL."
\n";
if($InitTable)
{
- $this->adodbConnection->Execute("DROP TABLE ".$this->ResultTable);
+ $this->adodbConnection->Execute("DROP TABLE IF EXISTS ".$this->ResultTable);
//$indexSQL = "(INDEX(Relevance), INDEX(ItemId), INDEX(ItemType), INDEX sorting (EdPick,Relevance)) ";
$full_sql = "CREATE TABLE ".$this->ResultTable." ".$indexSQL.$SelectSQL;
//echo $full_sql."
\n";