14.06.2013, 15:11
pawn Код:
format(szQuery, sizeof(szQuery), "INSERT INTO `Points` (`opCoX`, `opCoY`, `opCoZ`, `opCoA`) VALUES (%f, %f, %f, %f) WHERE `pID` = %d", positions[0], positions[1], positions[2], positions[3], id);
mysql_function_query(dbHandle, szQuery, false, "thread_InsertPoint", "d", playerid);
Код:
[17:05:44] [WARNING] CMySQLHandler::FreeResult() - The result is already empty. [17:06:03] [ERROR] ProcessQueryThread(thread_InsertPoint) - 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 'WHERE (`pID` = 6)' at line 1 (error ID: 1064)