-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql_close doesn't wait until mysql_tquery has been executed #64
Comments
Are you talking about R39-3? |
If you are indeed talking about R39-3: |
Sorry, for the late response. Yes - I'm talking about R39-3. No idea why. Maybe, this log will help.
|
It looks like neither the pquery-query nor the tquery-query are executed (query execution is always logged if debug logging is enabled). public OnGameModeExit()
{
mysql_tquery(g_MySQL, "UPDATE something");
new tc = tickcount();
while((tickcount() - tc) < 3000) //pause server for 3 seconds
{ }
mysql_close(g_MySQL);
return 1;
} |
Yes, with pause it's working with tquery. |
Could you share the log output again please? |
|
mysql_close is only waiting until the query which was called with mysql_pquery has been executed.
I don't know whether this is desirable.
The text was updated successfully, but these errors were encountered: