AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [MySQL] Invalid handle (https://forums.alliedmods.net/showthread.php?t=183168)

Arenmake 04-18-2012 08:43

[MySQL] Invalid handle
 
hi

show me these errors in the logs:

PHP Code:

L 04/18/2012 09:39:28: [MySQLInvalid handle0
L 04
/18/2012 09:39:28: [AMXXDisplaying debug trace (plugin "admin5.amxx")
L 04/18/2012 09:39:28: [AMXXRun time error 10native error (native "SQL_FreeHandle")
L 04/18/2012 09:39:28: [AMXX]    [0admin5.sma::plugin_end (line 2867

Code:
PHP Code:

new Handle:tupleHandle:connection

public plugin_end()
{
    
// Close tuple
//    SQL_FreeHandle(tuple)
    
SQL_FreeHandle(connection// Line 2867
    
    
TrieDestroy(t_pj)
    
    
#if defined USE_PARTY
    
TrieDestroy(t_party
    
#endif


Because this error occurs?

Exolent[jNr] 04-18-2012 09:38

Re: [MySQL] Invalid handle
 
Show the whole code.


All times are GMT -4. The time now is 07:51.

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