SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/12/2018, 07:39 PM   #1
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Updating BlueG's MySQL R34 to R38

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 Code:
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.

Last edited by StRaphael; 11/12/2018 at 02:45 PM.
StRaphael is offline   Reply With Quote
Old 01/12/2018, 07:42 PM   #2
3ahira
Banned
 
Join Date: Nov 2018
Posts: 10
Reputation: 2
Default Re: Updating BlueG's MySQL R34 to R38

use r41
3ahira is offline   Reply With Quote
Old 01/12/2018, 07:58 PM   #3
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Re: Updating BlueG's MySQL R34 to R38

Quote:
Originally Posted by 3ahira View Post
use r41
No, I don't want yet to use it becouse is has changed alot of natives and my gamemode is very large...
StRaphael is offline   Reply With Quote
Old 02/12/2018, 08:02 AM   #4
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Re: Updating BlueG's MySQL R34 to R38

Any help?
StRaphael is offline   Reply With Quote
Old 02/12/2018, 11:39 AM   #5
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Re: Updating BlueG's MySQL R34 to R38

Quote:
Originally Posted by ****** View Post
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)...
StRaphael is offline   Reply With Quote
Old 02/12/2018, 12:46 PM   #6
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Re: Updating BlueG's MySQL R34 to R38

So can someone explain me how I replace the functions in the error log mentioned up?
Here's an example from my code..
PHP Code:
        new strid[32],
            
intid;
        
mysql_fetch_row(strid); //error
        
intid strval(strid);
        
mysql_free_result(); //error
        
return intid
StRaphael is offline   Reply With Quote
Old 11/12/2018, 02:35 PM   #7
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Re: Updating BlueG's MySQL R34 to R38

bump?
StRaphael is offline   Reply With Quote
Old 11/12/2018, 06:54 PM   #8
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 112
Reputation: 15
Default Re: Updating BlueG's MySQL R34 to R38

Check this topic out.
CantBeJohn is offline   Reply With Quote
Old 11/12/2018, 08:33 PM   #9
StRaphael
Big Clucker
 
StRaphael's Avatar
 
Join Date: Nov 2016
Posts: 126
Reputation: 0
Default Re: Updating BlueG's MySQL R34 to R38

Quote:
Originally Posted by CantBeJohn View Post
Check this topic out.
I know about that topic but I don't find any of these function presented in this topic by me..
StRaphael is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Updating BlueG's MySQL plugin R33+ scripts to R40 maddinat0r Tutorials 45 30/09/2019 04:20 PM
Updating BlueG's mysql causes deleted functions to return problems Partner Scripting Help 0 01/11/2014 10:31 PM
Trouble updating with BlueG's mysql R7 2KY Scripting Help 3 25/12/2013 04:46 AM
[GameMode] MySQL CLEAN GAMEMODE [Whirlpool, MySQL BlueG R7, Cache, Ready Package (Windows)] GiamPy. Gamemode Scripts 13 13/09/2013 05:31 PM
BlueG MySQL plugin - Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc) linuxthefish Plugin Development 10 13/07/2013 11:56 AM


All times are GMT. The time now is 04:35 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.