[HELP] Mysql r7
#1

Hello

i have problem

i changed [include] Mysql r5 in R7 , and i got this errors


Код:
error 017: undefined symbol "mysql_query"
error 017: undefined symbol "mysql_query"
:error 017: undefined symbol "mysql_query"
Reply
#2

Functions that are in R5 aren't the same one in R7, I don't know about MySQL but check the change logs of R7 and see the name or mysql_query or try to deep search. I hope this some kind-of helped you.
Reply
#3

Quote:
Originally Posted by HyDrAtIc
Посмотреть сообщение
Functions that are in R5 aren't the same one in R7, I don't know about MySQL but check the change logs of R7 and see the name or mysql_query or try to deep search. I hope this some kind-of helped you.
Thanks for reply

i search it already i dont find



R5 : http://files.g-stylezzz.com/mysql/rel/R5/a_mysql.inc

Mysql R7 : http://files.g-stylezzz.com/mysql/rel/R7/a_mysql.inc
Reply
#4

It was replaced with mysql_function_query and non-threaded queries were removed from R7. There's a tutorial about how to use threaded queries and if you decided to use them, it's recommended to update to R39-2 and there's also an example script in the github page.
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It was replaced with mysql_function_query and non-threaded queries were removed from R7. There's a tutorial about how to use threaded queries and if you decided to use them, it's recommended to update to R39-2 and there's also an example script in the github page.
Thanks for answer

i remplaced : mysql_function_query , and i got errors again

Код:
(2543) : error 035: argument type mismatch (argument 1)
(2558) : error 035: argument type mismatch (argument 1)
(2571) : error 035: argument type mismatch (argument 1)
(2580) : error 035: argument type mismatch (argument 1)
(2621) : error 035: argument type mismatch (argument 1)
(2662) : error 035: argument type mismatch (argument 1)
(2673) : error 035: argument type mismatch (argument 1)
(2695) : error 035: argument type mismatch (argument 1)
(2715) : error 035: argument type mismatch (argument 1)
(2729) : error 035: argument type mismatch (argument 1)
(2742) : error 035: argument type mismatch (argument 1)
(2760) : error 035: argument type mismatch (argument 1)
(2777) : error 035: argument type mismatch (argument 1)
(2806) : error 035: argument type mismatch (argument 1)
(2819) : error 035: argument type mismatch (argument 1)
(2835) : error 035: argument type mismatch (argument 1)
(2848) : error 035: argument type mismatch (argument 1)
(2861) : error 035: argument type mismatch (argument 1)
(2874) : error 035: argument type mismatch (argument 1)
(2895) : error 035: argument type mismatch (argument 1)
(2919) : error 035: argument type mismatch (argument 1)
(2928) : error 035: argument type mismatch (argument 1)
(2936) : error 035: argument type mismatch (argument 1)
(2949) : error 035: argument type mismatch (argument 1)
its hard for did R39-2 (just R7 needed)
Reply
#6

It doesn't have the same parameters. Check the original thread of the mysql plugin (by BlueG) and see the parameters. The first parameter is the connection handle (the one mysql_connect returns), the query and the rest are cache (true in SELECT queries and false in INSERT/UPDATE) and a callback is needed if the cache is true (you select data). Well, check the tutorial by AndreT for more information.
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It doesn't have the same parameters. Check the original thread of the mysql plugin (by BlueG) and see the parameters. The first parameter is the connection handle (the one mysql_connect returns) and the rest are cache (true in SELECT queries and false in INSERT/UPDATE) and a callback is needed if the cache is true (you select data). Well, check the tutorial by AndreT for more information.
Ok , and Thanks bro.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)