SA-MP Forums Archive
MySQL function 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: MySQL function error (/showthread.php?tid=572555)



MySQL function error - aCloudy - 29.04.2015

Hello.
I compiled my gamemode and there weren't any error/warning.
But in the samp-server.exe, The [debug] says:

Код:
[debug] Run time error 19: "File or function is not found"
[debug] mysql_fetch_row_format
[debug] Run time error 19: "File or function is not found"
[debug] mysql_fetch_row_format
Help please.


Re: MySQL function error - Sawalha - 29.04.2015

do you have the latest version of MySQL? (R39-2)


Re: MySQL function error - aCloudy - 29.04.2015

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
do you have the latest version of MySQL? (R39-2)
Oh, Thanks.


Re: MySQL function error - aCloudy - 29.04.2015

Wait, I downloaded R39-2 and got more errors than before.
Help please.


Re: MySQL function error - bgedition - 29.04.2015

You need to make your gamemode to work with R39-2(i think)


Re: MySQL function error - aCloudy - 29.04.2015

Quote:
Originally Posted by bgedition
Посмотреть сообщение
You need to make your gamemode to work with R39-2(i think)
Never heard about this, I don't think so.


Re: MySQL function error - arlindi - 29.04.2015

https://sampforum.blast.hk/showthread.php?tid=337810

This


Re: MySQL function error - aCloudy - 29.04.2015

Guys, I was getting only one error when I run samp-server.exe.
This:
Код:
[debug] Run time error 19: "File or function is not found"
[debug] mysql_fetch_row_format
[debug] Run time error 19: "File or function is not found"
[debug] mysql_fetch_row_format
But when I installed R39-2 I got much more errors ..


Re: MySQL function error - Konstantinos - 29.04.2015

mysql_fetch_row_format existed in R5, R6, R7 but we are not aware of what exactly version the script is compiled with as there is lack of information.

Though, I'll suggest you to update the scripts to latest version (R39-3) as it's been much faster than the older versions and you should use threaded queries.

Threaded queries (tutorial): https://sampforum.blast.hk/showthread.php?tid=337810
wiki for mysql R33+: https://sampwiki.blast.hk/wiki/MySQL/R33
example script: https://github.com/pBlueG/SA-MP-MySQ...stem-cache.pwn


Re: MySQL function error - aCloudy - 29.04.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
mysql_fetch_row_format existed in R5, R6, R7 but we are not aware of what exactly version the script is compiled with as there is lack of information.

Though, I'll suggest you to update the scripts to latest version (R39-3) as it's been much faster than the older versions and you should use threaded queries.

Threaded queries (tutorial): https://sampforum.blast.hk/showthread.php?tid=337810
wiki for mysql R33+: https://sampwiki.blast.hk/wiki/MySQL/R33
example script: https://github.com/pBlueG/SA-MP-MySQ...stem-cache.pwn
OMG ye, The example script doesn't have any error -.-
Let me delete my script and follow your "example script".
Thanks.