mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Query speedups - thanks Mikey
This commit is contained in:
@@ -91,7 +91,7 @@ function read_tables($tab)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strpos($line, "TYPE=") !== FALSE)
|
if ((strpos($line, "TYPE=") !== FALSE) || (strpos($line, "ENGINE=") !== FALSE))
|
||||||
{
|
{
|
||||||
$current_table = "";
|
$current_table = "";
|
||||||
}
|
}
|
||||||
|
@@ -355,8 +355,9 @@ CREATE TABLE online (
|
|||||||
online_location text NOT NULL,
|
online_location text NOT NULL,
|
||||||
online_pagecount tinyint(3) unsigned NOT NULL default '0',
|
online_pagecount tinyint(3) unsigned NOT NULL default '0',
|
||||||
online_active int(10) unsigned NOT NULL default '0',
|
online_active int(10) unsigned NOT NULL default '0',
|
||||||
online_agent varchar(255) NOT NULL default ''
|
online_agent varchar(255) NOT NULL default '',
|
||||||
) TYPE=MyISAM;
|
KEY online_ip (online_ip)
|
||||||
|
) TYPE=InnoDB;
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user