mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 18:14:19 +00:00
2fb1c723c9
3568: Get rid of the MySQL C++ connector as a dependency and disable C++ exceptions r=Learath2 a=heinrich5991 We now use the C API directly. This has the advantage of using one obscure dependency less, as the C++ connector also used the C API. Also remove exceptions from database code. The equivalent code with return codes is a human-assisted mechanical translation of the old code, no attempts to improve correctness were made. This allows us to enable the -fno-exceptions flag. ## Checklist - [x] Tested the change ingame - [ ] Provided screenshots if it is a visual change - [x] Tested in combination with possibly related configuration options - [ ] Written a unit test if it works standalone, system.c especially - [x] Considered possible null pointers and out of bounds array indexing - [ ] Changed no physics that affect existing maps - [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional) Co-authored-by: heinrich5991 <heinrich5991@gmail.com> |
||
---|---|---|
.. | ||
databases | ||
antibot.cpp | ||
antibot.h | ||
authmanager.cpp | ||
authmanager.h | ||
name_ban.cpp | ||
name_ban.h | ||
register.cpp | ||
register.h | ||
server.cpp | ||
server.h | ||
sql_string_helpers.cpp | ||
sql_string_helpers.h | ||
upnp.cpp | ||
upnp.h |