diff options
author | Sadie Powell <sadie@witchery.services> | 2021-04-27 23:21:07 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-04-27 23:21:07 +0100 |
commit | a040f177874c8018f391defa17e8ec0a253c8f24 (patch) | |
tree | 0d24781f0348947459dbd65548b7b340ce17250f /modules/extra/stats/m_chanstats.cpp | |
parent | 6274bd0b34e51c3540f0dd467ab6a98567c502f6 (diff) |
Use InnoDB instead of the deprecated MyISAM engine.
Ref: https://www.percona.com/blog/2016/10/11/mysql-8-0-end-myisam/
Diffstat (limited to 'modules/extra/stats/m_chanstats.cpp')
-rw-r--r-- | modules/extra/stats/m_chanstats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/stats/m_chanstats.cpp b/modules/extra/stats/m_chanstats.cpp index a9c9bb8ae..403174e6a 100644 --- a/modules/extra/stats/m_chanstats.cpp +++ b/modules/extra/stats/m_chanstats.cpp @@ -317,7 +317,7 @@ class MChanstats : public Module "KEY `nick` (`nick`)," "KEY `chan_` (`chan`)," "KEY `type` (`type`)" - ") ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;"; + ") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;"; this->RunQuery(query); } /* There is no CREATE OR REPLACE PROCEDURE in MySQL */ |