Raised This Month: $ Target: $400
 0% 

SQL_ThreadQuery error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 01-30-2017 , 17:29   SQL_ThreadQuery error
Reply With Quote #1

Getting this error:
PHP Code:
L 01/31/2017 00:19:11: [MySQLInvalid info tuple handle0
L 01
/31/2017 00:19:11: [AMXXDisplaying debug trace (plugin "csgo2.amxx"version "unknown")
L 01/31/2017 00:19:11: [AMXXRun time error 10native error (native "SQL_ThreadQuery")
L 01/31/2017 00:19:11: [AMXX]    [0csgo2.sma::Registered (line 1869
Line 1869:
PHP Code:
SQL_ThreadQuery(g_hTuple"QuerySelectReg"szQueryiData1); 
Function:

PHP Code:
public Registered(id)
{
    if(!
is_user_connected(id) || is_user_bot(id))
        return;
    
    static 
szQuery[256], iData[1]; iData[0] = id;
    
formatex(szQuery255"SELECT * FROM `%s` WHERE `username` = '%s'"TABLE_NAMEget_user_name_ex(id));
    
SQL_ThreadQuery(g_hTuple"QuerySelectReg"szQueryiData1);
        
    
log_errors("[REGISTERED] %s"szQuery);

MySQL info is written correctly.

What's the problem?
__________________
Airkish is offline
 


Thread Tools
Display Modes

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 20:49.


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