Raised This Month: $ Target: $400
 0% 

Sqlx Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 09-22-2011 , 18:14   Re: Sqlx Help
Reply With Quote #5

Quote:
Originally Posted by rainin View Post
As you see there is problem with sqlx connect. So i dont think that debug helps.
With debug enabled you get more details in error logs (including line number in code!). When you edit plugin ALWAYS enable debug!

It's not a problem with sqlx connect, but SQL_FreeHandle. There are several of them used in your code. With debug enabled, you would know which one is causing the problem.

Looking at the code I can see some mistakes.
1) You tried to change SqlConnection name to MySQL_Connection, but you didn't change it everywhere.
2) In this piece of code you use invalid g_SqlTuple. You pass SQL_MakeStdTuple() directly to SQL_Connect and never assign anything to g_SqlTuple.
3) Don't use SQL_FreeHandle(Query) in IgnoreHandle or any threaded query handlers.
__________________
Impossible is Nothing
Sylwester is offline
 



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 19:43.


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