Mysql bugs
#1

I got the following snippet:

Код:
    format(string,sizeof(string), "UPDATE `Accounts` SET `AdminLevel` = %i,`Money` = %i, `Bank` = %i, `Faction` = %i, `Rank` = %i, `HouseKey` = %i, `BizKey` = %i, `Skin` = %i, `Spawn1` = '%f', `Spawn2` = '%f', `Spawn3` = '%f', `Spawn4` = '%f', `Spawn5` = %i, `Reg` = %i, `Sex` = %i, `Wallet` = %i, `Renting` = %i, `Products` = %i, `PhoneNumber` = %i, `Minutes` = %i, `Spawn6` = %i, `Arrested` = %i, `Prisoned` = %i, `Jailed` = %i, `JailTime` = %i, \
	`Cell` = %i, `Towe` = %i, `License` = %i, `Linked` = %i, `ForumName` = '%s', `ForumPassword` = '%s', `wLicense` = %i, `Job` = %i, `Donator` = %i, `CarParts` = %i, `PlayingTime` = %i, `FightingStyle` = %i WHERE `Name` = '%s'",
(after the last , comes the variables)

I got the following errors:

Quote:

error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "UPDATE"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Any idea?
Reply


Messages In This Thread
Mysql bugs - by Ice-cup - 02.01.2011, 13:58
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:02
Re: Mysql bugs - by Toreno - 02.01.2011, 14:06
Re: Mysql bugs - by BlackBank - 02.01.2011, 14:06
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:07
Re: Mysql bugs - by Ice-cup - 02.01.2011, 14:08
Re: Mysql bugs - by Toreno - 02.01.2011, 14:11
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:12
Re: Mysql bugs - by Ice-cup - 02.01.2011, 14:15
Re: Mysql bugs - by Kaylux - 02.01.2011, 14:19

Forum Jump:


Users browsing this thread: 3 Guest(s)