Allow custom default ORDER BY for system logs

This commit is contained in:
Alexey Milovidov 2022-04-17 21:57:44 +02:00
parent a64765bc6f
commit 250ca83058

View File

@ -154,7 +154,8 @@ std::shared_ptr<TSystemLog> createSystemLog(
if (!ttl.empty())
engine += " TTL " + ttl;
engine += " ORDER BY " + TSystemLog::getDefaultOrderBy();
engine += " ORDER BY ";
engine += TSystemLog::getDefaultOrderBy();
}
// Validate engine definition grammatically to prevent some configuration errors