mirror of
https://github.com/anope/anope.git
synced 2026-07-10 15:03:13 +02:00
Explicitly specify ROW_FORMAT=DYNAMIC when creating tables.
Resolves the issues some people were having with extremely wide rows.
This commit is contained in:
@@ -404,7 +404,7 @@ std::vector<Query> MySQLService::CreateTable(const Anope::string &table, const D
|
||||
else
|
||||
query_text += "text";
|
||||
}
|
||||
query_text += ", PRIMARY KEY (`id`), KEY `timestamp_idx` (`timestamp`))";
|
||||
query_text += ", PRIMARY KEY (`id`), KEY `timestamp_idx` (`timestamp`)) ROW_FORMAT=DYNAMIC";
|
||||
queries.push_back(query_text);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user