ddnet/src/engine/server
bors[bot] 2fb1c723c9
Merge #3568
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>
2021-02-24 16:43:16 +00:00
..
databases Remove exceptions from database code 2021-02-24 17:39:48 +01:00
antibot.cpp Run clang-format 2020-09-26 21:50:15 +02:00
antibot.h Run clang-format 2020-09-26 21:50:15 +02:00
authmanager.cpp Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
authmanager.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
name_ban.cpp Make name more descriptive 2019-03-11 14:48:45 +01:00
name_ban.h Run clang-format 2020-09-26 21:50:15 +02:00
register.cpp Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
register.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
server.cpp Merge #3568 2021-02-24 16:43:16 +00:00
server.h Make spectators stay specs on map changed 2021-02-23 19:36:52 +03:00
sql_string_helpers.cpp Fix some variable name's style 2020-11-08 17:15:48 +01:00
sql_string_helpers.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
upnp.cpp Run clang-format 2020-09-26 21:50:15 +02:00
upnp.h Run clang-format 2020-09-26 21:50:15 +02:00