Mysql Plugin
#1

Hi everybody,


I updated the msqly plugin of my test server. (( changed the include the pawn folder and in plugins folder))
But now I have 2 errors when I compile,

test2.pwn(106) : error 035: argument type mismatch (argument 1)
test2.pwn(302) : error 035: argument type mismatch (argument 1)

Line 106 : mysql_query(Query);

Line 302: mysql_query(Query);


Is it a problem of compatibility with mysql r35 b ?
Or mysql_query changed into an other syntax ?



Thank you
Reply
#2

With the new version mysql_query has more parameters.. I advise you use mysql_tquery or even use the ORM functions
Reply
#3

Thank you, it was the parameters
I used
mysql_query(1,Query,false);

Now it works.
Reply
#4

Yeah it's for caching i believe.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)