summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-05-16 17:13:47 +0100
committerSadie Powell <sadie@witchery.services>2024-05-16 17:29:25 +0100
commit8bb83f6b1a667121ba68f5c191b9f953af6f22bd (patch)
treec6b9c66a4563db9e4d3556136b2317f4c047a24f /modules
parentda99a53dfac278cdf5ca37f7f104fb2c9aa58336 (diff)
Explicitly specify ROW_FORMAT=DYNAMIC when creating tables.
Resolves the issues some people were having with extremely wide rows.
Diffstat (limited to 'modules')
-rw-r--r--modules/extra/m_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp
index 82e2873b8..bb9ee8444 100644
--- a/modules/extra/m_mysql.cpp
+++ b/modules/extra/m_mysql.cpp
@@ -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