Mysql Problem (server crash)
#1

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 !
Reply


Messages In This Thread
Mysql Problem (server crash) - by Andrei1255 - 24.06.2017, 09:08
Re: Mysql Problem (server crash) - by JasonRiggs - 24.06.2017, 12:33
Re: Mysql Problem (server crash) - by Andrei1255 - 24.06.2017, 13:25
Re: Mysql Problem (server crash) - by DRIFT_HUNTER - 24.06.2017, 13:54
Re: Mysql Problem (server crash) - by Andrei1255 - 25.06.2017, 11:04

Forum Jump:


Users browsing this thread: 3 Guest(s)