Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/db/cat_event_handler.php
Show First 20 Lines • Show All 1378 Lines • ▼ Show 20 Line(s) | |||||
$this->Conn->Query($sql); | $this->Conn->Query($sql); | ||||
if ( !$search_table_exists ) { | if ( !$search_table_exists ) { | ||||
$sql = 'ALTER TABLE ' . $search_table . ' | $sql = 'ALTER TABLE ' . $search_table . ' | ||||
ADD INDEX (ResourceId), | ADD INDEX (ResourceId), | ||||
ADD INDEX (Relevance)'; | ADD INDEX (Relevance)'; | ||||
$this->Conn->Query($sql); | $this->Conn->Query($sql); | ||||
$this->Application->StoreVar('search_performed', 1); | |||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* Enter description here... | * Enter description here... | ||||
* | * | ||||
* @param kEvent $event | * @param kEvent $event | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 1699 Lines • Show Last 20 Lines |