11.10.2017, 01:07
(
Последний раз редактировалось leon44; 11.10.2017 в 01:49.
)
Hi mates, I've recently installed the lastest updates from MySQL to an older MySQL from 2012, but when I updated them I've got 21 errors while that wasn't happening when I had the old MySQL there yet. these are the following errors:
Lines:
How can I fix them?
Код:
D:\Escritorio\server\gamemodes\DM.pwn(460) : error 017: undefined symbol "mysql_ping" D:\Escritorio\server\gamemodes\DM.pwn(478) : error 035: argument type mismatch (argument 1) D:\Escritorio\server\gamemodes\DM.pwn(479) : error 017: undefined symbol "mysql_store_result" D:\Escritorio\server\gamemodes\DM.pwn(480) : error 017: undefined symbol "mysql_num_rows" D:\Escritorio\server\gamemodes\DM.pwn(482) : error 017: undefined symbol "mysql_fetch_row" D:\Escritorio\server\gamemodes\DM.pwn(486) : error 017: undefined symbol "mysql_free_result" D:\Escritorio\server\gamemodes\DM.pwn(518) : error 035: argument type mismatch (argument 1) D:\Escritorio\server\gamemodes\DM.pwn(519) : error 017: undefined symbol "mysql_store_result" D:\Escritorio\server\gamemodes\DM.pwn(520) : error 017: undefined symbol "mysql_num_rows" D:\Escritorio\server\gamemodes\DM.pwn(522) : error 017: undefined symbol "mysql_free_result" D:\Escritorio\server\gamemodes\DM.pwn(883) : error 017: undefined symbol "mysql_ping" D:\Escritorio\server\gamemodes\DM.pwn(885) : error 017: undefined symbol "mysql_debug" D:\Escritorio\server\gamemodes\DM.pwn(3430) : error 035: argument type mismatch (argument 1) D:\Escritorio\server\gamemodes\DM.pwn(3450) : error 035: argument type mismatch (argument 1) D:\Escritorio\server\gamemodes\DM.pwn(3451) : error 017: undefined symbol "mysql_store_result" D:\Escritorio\server\gamemodes\DM.pwn(3452) : error 017: undefined symbol "mysql_fetch_row" D:\Escritorio\server\gamemodes\DM.pwn(3463) : error 017: undefined symbol "mysql_free_result" D:\Escritorio\server\gamemodes\DM.pwn(3516) : error 035: argument type mismatch (argument 1) D:\Escritorio\server\gamemodes\DM.pwn(3517) : error 017: undefined symbol "mysql_free_result" D:\Escritorio\server\gamemodes\DM.pwn(3902) : error 017: undefined symbol "mysql_fetch_field_row" D:\Escritorio\server\gamemodes\DM.pwn(3908) : error 017: undefined symbol "mysql_fetch_field_row" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 21 Errors.
PHP код:
if(mysql_ping() == 1)//460
PHP код:
mysql_query(query); //478
mysql_store_result(); //479
if(mysql_num_rows() > 0) //480
{
mysql_fetch_row(query); //482
} else {
query = "Unknown";
}
mysql_free_result(); //486
}
}
PHP код:
mysql_query(query); //518
mysql_store_result(); //519
if(mysql_num_rows() == 0) //520
{
mysql_free_result();//522
PHP код:
if(mysql_ping() == 1)//883
{
mysql_debug(1);//885
PHP код:
mysql_query(query); //3430
PHP код:
mysql_query(query); //3450
mysql_store_result(); //3451
if(mysql_fetch_row(query) == 1)//3452
PHP код:
mysql_free_result();//3463
PHP код:
mysql_query(qwery);//3516
mysql_free_result();//3517
PHP код:
mysql_fetch_field_row(fetch,fields); //3902 and 3908 the same line