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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user