mysql update [rep]
#3

Quote:
Originally Posted by SoLetsGO
Посмотреть сообщение
You just have to follow the instructions.
I think the main problem for you is that mysql now uses a callback which means that you need two functions. One function "LoadAirline" to setup the SQL Query but you also need a new callback to fetch the data. Once the callback is called you usually use cache_get_field etc. I think it becomes more clear to you if you read example codes like the login/register mysql tutorial which is on this forum.
False. Only threaded queries have a callback. If you want to do a non-threaded query then you will need to save the cache and get the stuff from it then delete the cache and you won't need a callback, but it will freeze the server until it finishes that MySQL stuff, but if you use threaded queries then the server will keep going while that MySQL stuff is happening. You can make threaded queries look better by using y_inline though. Also in R40+ it's cache_get_value_name.
Reply


Messages In This Thread
mysql update [rep] - by bugmenotlol - 02.01.2017, 09:15
Re: mysql update [rep] - by SoLetsGO - 02.01.2017, 10:26
Re: mysql update [rep] - by GoldenLion - 02.01.2017, 13:11
Re: mysql update [rep] - by SoLetsGO - 02.01.2017, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)