Mysql problem
#1

Hello i am getting bug where the query gets wrongly executed
This is from the save business function
Код:
strcat(iQuery, "UPDATE `BusinessInfo` SET ");
	mysql_format(MySQLPipeline, iFormat, sizeof(iFormat), "`Owner` = '%e', ", BusinessInfo[bid][bOwner]);
and when i saw the the logs its executed like this
Код:
[DEBUG] mysql_tquery - connection: 1, query: "UPDATE `BusinessInfo` SET `Owner` = ' ', `Dupekey` = 'NoBodY', `N", callback: "(null)", format: "(null)"
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.
Reply


Messages In This Thread
Mysql problem - by Mahesh90901 - 02.11.2016, 17:41
Re: Mysql problem - by NeXoR - 02.11.2016, 18:50
Re: Mysql problem - by Vince - 02.11.2016, 18:55

Forum Jump:


Users browsing this thread: 2 Guest(s)