sourcemod/extensions/mysql
Asher Baker b5de3eb588
Speculative fix for MySQL crashes (#1135)
https://crash.limetech.org/stats/dbi.mysql.ext.%25/my_real_read
https://crash.limetech.org/stats/dbi.mysql.ext.%25/net_real_write

Both of these are caused by the VIO ptr ending up as null in the middle of reading/writing to a connection - I can't find any indication of a fix for this made to MySQL, so don't think it is a bug fix we're missing, but there are some musings around the internet that it could be caused by improper thread-safety initialisation.

`my_init` (what we had here) is called internally by `mysql_library_init` but I think would have still led to an automatic `mysql_library_init` call the first time `mysql_init` was called (which we can do on a thread in case of threaded connections), which is exactly the thread-safety issue called out by the MySQL docs, so hopefully doing things properly here will help.
2019-12-15 15:01:15 +00:00
..
mysql MySQL: Support multiple result sets in prepared queries (#825) 2018-06-05 18:33:33 +01:00
AMBuilder Revert "Remove arch loops from build scripts. (#889)" 2018-10-04 17:59:40 +00:00
extension.cpp Speculative fix for MySQL crashes (#1135) 2019-12-15 15:01:15 +00:00
extension.h Fixed missing version string and compile date for MySQL extension (bug 4547, r=dvander). 2010-07-28 14:48:51 -05:00
msvc15hack.c Fix MSVC2015 build. 2019-03-16 17:25:36 -07:00
smsdk_config.h Deduplicate a number of files used by extensions by moving them to the public directory (bug 5341, r=psychonic). 2014-04-23 21:19:28 -05:00
version.rc Overhauled versioning information (bug 5453, r=dvander). 2012-08-26 01:33:54 +01:00