Easiest way to convert.
#5

Quote:
Originally Posted by Misiur
Посмотреть сообщение
If you want to leverage theaded query speed, then yes, there's no other way than creating proper callbacks. That isn't too hard tho, it can be even easier to do with y_inline. And there are quite a few functions to change, such as mysql_num_rows to cache_num_rows/cache_get_row_count
Thank you for the heads up.

The best way to start would be to do the ones where it's "mysql_store_result" as they're the ones which use the most functions, where as "mysql_query" which don't require a callback to fetch data, such as "UPDATE XXX SET XXX=XXX WHERE XXX=XXX LIMIT 1"

They don't need a callback for it, so it'll be a simple case of converting "mysql_query" to "mysql_pquery" without any extra added sections on it, right?

Thanks for all of your help so far guys.
Reply


Messages In This Thread
Easiest way to convert. - by RedCounty - 01.06.2016, 19:11
Re: Easiest way to convert. - by SickAttack - 01.06.2016, 19:17
Re: Easiest way to convert. - by RedCounty - 01.06.2016, 19:26
Re: Easiest way to convert. - by Misiur - 01.06.2016, 19:30
Re: Easiest way to convert. - by RedCounty - 01.06.2016, 19:35
Re: Easiest way to convert. - by Misiur - 01.06.2016, 19:39
Re: Easiest way to convert. - by RedCounty - 01.06.2016, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)