MySQL Error
#1

Code:
Код:
format(query,sizeof(query),"UPDATE players SET Faction = %d , FactionOwner = 1 WHERE Username = '%s'",fInfo[Factions][fIndex], CurrentFacOwner);
	mysql_function_query(Connection,query,false,"","");
Error:
Код:
[14:29:15] [DEBUG] mysql_tquery - connection: 1, query: "ptDATE players SET Faction = 52 , FactionOwner = 1 WHERE Usernam", callback: "(null)", format: "(null)"
[14:29:15] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called
[14:29:15] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[14:29:15] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ptDATE players SET Faction = 52 , FactionOwner = 1 WHERE Username = 'busternr'' at line 1
[14:29:15] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
Reply


Messages In This Thread
MySQL Error - by SandKing94 - 24.05.2015, 11:23
Re: MySQL Error - by Vince - 24.05.2015, 11:39
Re: MySQL Error - by SandKing94 - 24.05.2015, 11:44
Re: MySQL Error - by SandKing94 - 24.05.2015, 12:31
Re: MySQL Error - by SandKing94 - 24.05.2015, 18:10
Re: MySQL Error - by bgedition - 24.05.2015, 20:15

Forum Jump:


Users browsing this thread: 2 Guest(s)