Raised This Month: $51 Target: $400
 12% 

[BUG] SQL_ThreadQuery and SQL_GetQueryString


  
 
 
Thread Tools Display Modes
Author Message
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 12-18-2006 , 19:03   [BUG] SQL_ThreadQuery and SQL_GetQueryString
#1

If you call SQL_ThreadQuery and it fails, meaning failstate = 1, then the Handle:query is 0 and cannot be used with SQL_GetQueryString.

The whole purpose of SQL_GetQueryString was for debug purposes and this makes it so it won't work.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
BAILOPAN
Join Date: Jan 2004
Old 12-18-2006 , 20:27   Re: [BUG] SQL_ThreadQuery and SQL_GetQueryString
#2

http://wiki.alliedmods.net/index.php...ting_Changes_2

Quote:
Fixed am45337: SQLX_GetQueryString() did not work with threaded queries.
It sounds like you're a version behind.
__________________
egg
BAILOPAN is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 12-19-2006 , 00:51   Re: [BUG] SQL_ThreadQuery and SQL_GetQueryString
#3

Oh, didn't read the unreleased (even to beta testers) changelog....didn't even know it was there...guess I'll compile it early.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
BAILOPAN
Join Date: Jan 2004
Old 12-19-2006 , 01:04   Re: [BUG] SQL_ThreadQuery and SQL_GetQueryString
#4

That was 1.76b. 1.76b was already released. That's why I said you're a version behind.
__________________
egg
BAILOPAN is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 12-19-2006 , 12:01   Re: [BUG] SQL_ThreadQuery and SQL_GetQueryString
#5

/me runs to go check amxx version on server


.......




%!@$#!
Ok, thanks for fixing before the report.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



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 13:03.


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