1
0
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:
Sadie Powell
2024-05-16 17:13:47 +01:00
parent da99a53dfa
commit 8bb83f6b1a
+1 -1
View File
@@ -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