View Single Post
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 07-25-2021 , 08:50   Re: MySQL connection loss leads to crashes
Reply With Quote #7

I run the test with only testDB.smx. On my local server it is enough to use only one MySQL-using plugin to cause this crash.
To make sure only testDB uses MySQL, I remove all plugins but testDB.smx and reloader.smx

Does it here "convert" not-yet sent threaded queries into non-threaded ones?
Quote:
/* Mark the plugin as being unloaded so future database calls will ignore threading... */
plugin->SetProperty("DisallowDBThreads", NULL);

/* Run all of the think operations.
* Unlike the driver unloading example, we'll let these calls go through,
* since a plugin unloading is far more normal.
*/

Last edited by kadet.89; 07-25-2021 at 10:04.
kadet.89 is offline
Send a message via Skype™ to kadet.89