24.06.2017, 09:08
Hi ! I use plugin Mysql R6 and when I try to start my server , I get the following error :
[11:52:49] [debug] #0 native mysql_fetch_field_row () from mysql.so
Script:
format(Query, sizeof(Query), "SELECT * FROM clanuri WHERE id='%d'", rowid);
mysql_query(Query);
mysql_store_result();
if(mysql_num_rows())
{
mysql_retrieve_row();
new Field[128];
mysql_fetch_field_row(ClanInfo[i][cNume], "Nume");
}
I see that it happens only when I have "SELECT * " , but if I select just one field ("SELECT blablabla") , it doesn't crash. Also if I select everything ("SELECT * ") without any mysql_fetch_field_row , the server doesn't crash.
Any idea how to solve this ? Thanks !
[11:52:49] [debug] #0 native mysql_fetch_field_row () from mysql.so
Script:
format(Query, sizeof(Query), "SELECT * FROM clanuri WHERE id='%d'", rowid);
mysql_query(Query);
mysql_store_result();
if(mysql_num_rows())
{
mysql_retrieve_row();
new Field[128];
mysql_fetch_field_row(ClanInfo[i][cNume], "Nume");
}
I see that it happens only when I have "SELECT * " , but if I select just one field ("SELECT blablabla") , it doesn't crash. Also if I select everything ("SELECT * ") without any mysql_fetch_field_row , the server doesn't crash.
Any idea how to solve this ? Thanks !