Updating BlueG's MySQL R34 to R38 - 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: Updating BlueG's MySQL R34 to R38 (
/showthread.php?tid=661354)
Updating BlueG's MySQL R34 to R38 -
StRaphael - 01.12.2018
Hello, I want to update my server from old plugin r34 to
r38(not the latest version, ik).
So when I try I got this errors on some callbacks and I don't know the new correspondent to them:
Код HTML:
error 017: undefined symbol "mysql_store_result"
error 017: undefined symbol "mysql_num_rows"
error 017: undefined symbol "mysql_free_result"
error 017: undefined symbol "mysql_fetch_row"
error 017: undefined symbol "mysql_retrieve_row"
error 017: undefined symbol "mysql_fetch_field_row"
error 017: undefined symbol "mysql_insert_id"
Compilation aborted.
Anyone can tell me the correspondents to these functions from R34 to R38?
Thanks.
Re: Updating BlueG's MySQL R34 to R38 -
3ahira - 01.12.2018
use r41
Re: Updating BlueG's MySQL R34 to R38 -
StRaphael - 01.12.2018
Quote:
Originally Posted by 3ahira
use r41
|
No, I don't want yet to use it becouse is has changed alot of natives and my gamemode is very large...
Re: Updating BlueG's MySQL R34 to R38 -
StRaphael - 02.12.2018
Any help?
Re: Updating BlueG's MySQL R34 to R38 -
StRaphael - 02.12.2018
Quote:
Originally Posted by ******
As you can see from the error messages, natives have changed anyway. So you have two choices:
1) Change your mode now to use the R38 natives, then change your mode again later to use the R41 natives.
2) Change your mode once to use the R41 natives.
|
The problem is that I don't know how to change the mode to R38 natives...
Like in r34 version function mysql_store_result exists and in R38 just dissapeard, so I don't know what to change instead of mysql_store_result(for example)...
Re: Updating BlueG's MySQL R34 to R38 -
StRaphael - 02.12.2018
So can someone explain me how I replace the functions in the error log mentioned up?
Here's an example from my code..
PHP код:
new strid[32],
intid;
mysql_fetch_row(strid); //error
intid = strval(strid);
mysql_free_result(); //error
return intid;
Re: Updating BlueG's MySQL R34 to R38 -
StRaphael - 11.12.2018
bump?
Re: Updating BlueG's MySQL R34 to R38 -
CantBeJohn - 11.12.2018
Check
this topic out.
Re: Updating BlueG's MySQL R34 to R38 -
StRaphael - 11.12.2018
Quote:
Originally Posted by CantBeJohn
|
I know about that topic but I don't find any of these function presented in this topic by me..