Posts: 344
Threads: 88
Joined: Jun 2014
Reputation:
0
Hello
I currently use MySQL R5 for my gamemode.
I want to go under MySQL R39.
However I do not know anything about MySQL R39, so is it possible to get a list of functions that match MySQL R5 to MySQL R39 or something similar?
Thx
(+reps for those who help me)
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
You cannot upgrade one-to-one by replacing functions. You will need to restructure your entire script to make use of the threaded queries. You can read AndreT's tutorial to get an idea on how that works.
Posts: 364
Threads: 41
Joined: Aug 2014
Reputation:
0
Vince is a PRO scripter.
If he says you can't upgrade one-by-one by replacing functions to use threaded queries.
He's probably right.
Posts: 1,578
Threads: 15
Joined: Feb 2013
Reputation:
0
Did you read what Vince told you?
The use of functions change.
Posts: 344
Threads: 88
Joined: Jun 2014
Reputation:
0
MySQL R5 there function mysql_fetch_row
MySQL R39 what replaces the function above?
Posts: 364
Threads: 41
Joined: Aug 2014
Reputation:
0
Search for cache functions.
1 - fetching a string with cache - cache_get_field_content(row, "name", variable to store it in, sizeof variable to store it in).
2 - fetching an integer with cache - VARIABLE = cache_get_field_content_int(row, "name");
3 - fetching a float with cache - same as integer one, just replace int with float.