1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 10:06:38 +02:00

changed the engine of the chanstats table from InnoDB back to MyISAM to avoid increasing the auto_increment counter on each INSERT IGNORE. For existing tables please manually run 'ALTER TABLE anope_chanstats ENGINE=MyISAM'.

This commit is contained in:
DukePyrolator
2014-09-14 11:36:05 +02:00
parent 4c2bf72cb6
commit 6a3f7c01b1
+1 -1
View File
@@ -309,7 +309,7 @@ class MChanstats : public Module
"KEY `nick` (`nick`),"
"KEY `chan_` (`chan`),"
"KEY `type` (`type`)"
") ENGINE=InnoDB DEFAULT CHARSET=utf8;";
") ENGINE=MyISAM DEFAULT CHARSET=utf8;";
this->RunQuery(query);
}
/* There is no CREATE OR REPLACE PROCEDURE in MySQL */