Updating BlueG's MySQL R34 to R38
#1

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.
Reply
#2

use r41
Reply
#3

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...
Reply
#4

Any help?
Reply
#5

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)...
Reply
#6

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

bump?
Reply
#8

Check this topic out.
Reply
#9

Quote:
Originally Posted by CantBeJohn
Посмотреть сообщение
Check this topic out.
I know about that topic but I don't find any of these function presented in this topic by me..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)