Just got in and glanced at my server, no one had logged in all day (12 hours), so I logged in a toon and wham. DB err lost connection, but no crash :) it reconnected just fine.  
	Thanks for the fix!  | 
		
 WOOT! Grats! :) 
	 | 
		
 Okay, I found a cosmetic error, as I interpreted the return value of RunQuery() wrong. RunQuery() returns true when successful, so we need to edit a line: 
	Code: 
	bool DBcore::RunQuery(const char* query, int32 querylen, char* errbuf, MYSQL_RES** result, int32* affected_rows, int32* last_insert_id, int32* errnum, bool retry) { | 
		
 lmao, I forgot about that.  I meant to correct that before I committed it.  I saw that, but was working on other stuff at the time and didn't get back to it.  Thanks for the reminder.  I will try to get that in unless someone else does before I find time to. 
	 | 
		
 I was wondering why I didnt get a reconnection message after my last crash, so I rechecked the code. :) 
	 | 
		
 UCS has been running great though, thanks Zothen 
	 | 
		
 Glad to hear :) 
	 | 
		
 Gotcha covered Trev. Committed in r1901. 
	 | 
| All times are GMT -4. The time now is 06:32 AM. | 
	Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.