14.04.2015, 03:49
Have you tried just updating one field and have you made sure all of the fields actually exist in the table? I can't see an issue with the query being sent so my next thought would be one/more of the fields don't exist.
Maybe just try this and see what happens?
Even if you have checked the fields several times, just make sure all fields exist and match the case aswell.
Maybe just try this and see what happens?
pawn Код:
format(query, sizeof(query), "UPDATE `misc` SET");
format(query, sizeof(query), "%s `gMOTD` = '%s',", query, g_mysql_ReturnEscaped(GlobalMOTD, MainPipeline));
mysql_function_query(MainPipeline, query, false, "OnQueryFinish", "i", SENDDATA_THREAD);