Callback parameter in mysql threaded function.
#1

Hi,

Can i use callback, when i format mysql query, not select anything, but update ?
Reply
#2

Yes, simply use a empty callback like this

Код:
mysql_function_query(g_Handle, query, false, "SendQuery", "");

forward SendQuery();
public SendQuery()   // EMPTY
{
	return 1;
}
Reply
#3

Can i do two for in one time? for Ex:

for(new i .....)
{

}
for(new qe ... )
{

}
Reply
#4

Quote:
Originally Posted by audriuxxx
Посмотреть сообщение
Can i do two for in one time? for Ex:

for(new i .....)
{

}
for(new qe ... )
{

}
I don't see any issue with that..
If you are planning to use this mysql_function_query inside it? Threaded queries execute 1 by 1 so, you shouldn't have any issues..
Reply


Forum Jump:


Users browsing this thread: