我需要将原始数据发送给MySQL以下准备好的声明:
const char *MYSQL_PREPARE_STMT =
"PREPARE "STMT_NAME" FROM 'INSERT INTO `srt` (record,imei,timestamp)
VALUES(?,?,?)'";
const char *MYSQL_EXECUTE_STMT_SRT = "EXECUTE "STMT_NAME" USING @1,@2,@3";
记录为BLOB
。
当我执行以下操作时,是否需要mysql_escape
:
SET @1 = '\0'; to get -> 0x00