SA-MP Forums Archive
MySQL R39-2 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySQL R39-2 (/showthread.php?tid=544596)



MySQL R39-2 Help - BrianHarrisHun - 02.11.2014

Hi!

I have a query in this mode:

Код:
format(query, sizeof(query), "SELECT * FROM players WHERE Name = '%s' AND Pass = SHA1(MD5('%s'))", sampname,pw);
mysql_tquery(g_SQL,query, "", "");
MySQL Log:
Код:
[WARNING] cache_get_row_count - no active cache
This error is to be corrected?


Re: MySQL R39-2 - Sithis - 04.11.2014

Try using OnQueryError (this is a callback in the BlueG plugin). It will show you any query errors that have occured.

https://sampwiki.blast.hk/wiki/MySQL/R33#OnQueryError