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