02.11.2016, 17:41
Hello i am getting bug where the query gets wrongly executed
This is from the save business function
and when i saw the the logs its executed like this
as you can see the Owner space is blank which is supposed to be Nobody.can any one help me where the problem is thanks.
This is from the save business function
Код:
strcat(iQuery, "UPDATE `BusinessInfo` SET "); mysql_format(MySQLPipeline, iFormat, sizeof(iFormat), "`Owner` = '%e', ", BusinessInfo[bid][bOwner]);
Код:
[DEBUG] mysql_tquery - connection: 1, query: "UPDATE `BusinessInfo` SET `Owner` = ' ', `Dupekey` = 'NoBodY', `N", callback: "(null)", format: "(null)"