Raised This Month: $ Target: $400
 0% 

SQLX, problem with server quit.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PoliceMan
Junior Member
Join Date: Mar 2008
Old 08-31-2008 , 15:27   SQLX, problem with server quit.
Reply With Quote #1

Hi, well I have a little problem, here is a description.

I have a plugin, that executes a threaded query on every connecting client (via set_task in client_putinserver), the problem is, that sql server located on another machine and it take a lot of time to execute an query and get results. The problem is here: when server reaches timelimit and changes map, or when "quit" is called from console, it freezes (not crashes) I assume, that it's trying to end all pending queries, cuz after some time it'll close (or mapchange) normally. Here is my question, is there is a way, maybe in plugin_end, to somehow force close of all connections or pending threads?

I tried to play with

Code:
public plugin_end()
{
	SQL_FreeHandle(handlename)
}
but no effect, so I'm asking for way to forcely close all threads and shutdown server without any wait time.

Sorry for my English.
PoliceMan is offline
Old 09-03-2008, 05:40
PoliceMan
This message has been deleted by YamiKaitou. Reason: bump
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode