From 865c3f7c98dde35c7f4c633cae3d12369089f9dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Tue, 14 Nov 2017 21:14:43 +0100 Subject: [PATCH] Possible fix for Issue #2860 - Add more indexes. --- e107_core/sql/core_sql.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 e107_core/sql/core_sql.php diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php old mode 100644 new mode 100755 index 562d34505..f08c699ae --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -364,7 +364,9 @@ CREATE TABLE online ( online_active int(10) unsigned NOT NULL default '0', online_agent varchar(255) NOT NULL default '', online_language varchar(2) NOT NULL default '', - KEY online_ip (online_ip) + KEY online_ip (online_ip), + KEY online_user_id (online_user_id), + KEY online_timestamp (online_timestamp) ) ENGINE=InnoDB; # --------------------------------------------------------