mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 10:12:26 +00:00
[Database] Fix issue with saylinks query in MySQL 8.0+ (#3800)
This commit is contained in:
parent
4fa9e1d66f
commit
6db0a5c3f0
@ -376,7 +376,7 @@ std::string EQ::SayLinkEngine::InjectSaylinksIfNotExist(const char *message)
|
|||||||
|
|
||||||
void EQ::SayLinkEngine::LoadCachedSaylinks()
|
void EQ::SayLinkEngine::LoadCachedSaylinks()
|
||||||
{
|
{
|
||||||
auto saylinks = SaylinkRepository::GetWhere(database, "phrase not REGEXP BINARY '[A-Z]' and phrase not REGEXP '[0-9]'");
|
auto saylinks = SaylinkRepository::GetWhere(database, "phrase not REGEXP '[A-Z]' and phrase not REGEXP '[0-9]'");
|
||||||
LogSaylink("Loaded [{}] saylinks into cache", saylinks.size());
|
LogSaylink("Loaded [{}] saylinks into cache", saylinks.size());
|
||||||
g_cached_saylinks = saylinks;
|
g_cached_saylinks = saylinks;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user