MySQL - checking result
#4

Quote:
Originally Posted by Michalec
Посмотреть сообщение
So I can use both mysql_tquery and mysql_query? I've readed, that using R7 and above (with threaded queries) requires ONLY threaded queries.

Now I have to replace all mysql_function_query to mysql_tquery and if I want to get result (errors etc.) I can use mysql_query?

Thanks.
Unthreaded queries were introduced in R33.

You don't need to replace all your calls to mysql_function_query with mysql_tquery, there is a wrapper for mysql_function_query in the include which calls automatically mysql_tquery (so if you call mysql_function_query you actually call mysql_tquery).
If you want to execute an unthreaded query you'll have to use mysql_query, just like in your problem you initially described.
Reply


Messages In This Thread
MySQL - checking result - by Michalec - 24.11.2013, 00:38
Re: MySQL - checking result - by maddinat0r - 25.11.2013, 12:13
Re: MySQL - checking result - by Michalec - 25.11.2013, 13:57
Re: MySQL - checking result - by maddinat0r - 25.11.2013, 15:32
Re: MySQL - checking result - by Michalec - 25.11.2013, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)