SA-MP Forums Archive
Help MySQL.inc 23 error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help MySQL.inc 23 error (/showthread.php?tid=492316)



Help MySQL.inc 23 error - vulcanica - 03.02.2014

Quote:

../include/g_mysql.inc(38 ) : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
../include/g_mysql.inc(428 ) : error 025: function heading differs from prototype
../include/g_mysql.inc(439) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(454) : error 017: undefined symbol "mysql_ping"
../include/g_mysql.inc(478 ) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(499) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(518 ) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(520) : error 017: undefined symbol "mysql_fetch_int"
../include/g_mysql.inc(546) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
../include/g_mysql.inc(548 ) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(561) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(581) : error 017: undefined symbol "mysql_ping"
../include/g_mysql.inc(591) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(606) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(629) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(660) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(855) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1001) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1150) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1187) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1209) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1223) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1257) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1274) : error 035: argument type mismatch (argument 1)
../include/g_mysql.inc(1281) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


23 Errors.

Line 38
Quote:

public OnQueryFinish(query[], resultid, extraid, connectionHandle)

Line 428 > 439
Quote:

public OnQueryError(errorid, error[], resultid, extraid, callback[], query[], connectionHandle)
{
printf("[MySQL] Query Error - (Thread: %d) (ExtraID: %d) (ErrorID: %d)", resultid, extraid, errorid);
print("[MySQL] Check /logs/querydump.log to review the query that threw the error.");
Log("logs/querydump.log", query);

if(resultid != -1)
{
if(errorid == 2013 || errorid == 2014 || errorid == 2006 || errorid == 2027 || errorid == 2055)
{
print("[MySQL] Connection Error Detected in Threaded Query, Attempting to Re-send Query.");
mysql_query(query, resultid, extraid, MainPipeline);
}
}
}

Line 454
Quote:

if(mysql_ping(MainPipeline) == -1)

Line 478
Quote:

{
mysql_query("SET SQL_SAFE_UPDATES=0;", NO_THREAD, 0, MainPipeline);
return 1;
}

and Lost amx file when Compiler



Re: Help MySQL.inc 23 error - vulcanica - 03.02.2014

help me pls


Re: Help MySQL.inc 23 error - vulcanica - 03.02.2014

anyone can help me ?