while ((row = mysql_fetch_row(res)) != NULL) {
sprintf(statement, "DELETE FROM `outgoing` WHERE `outgoing`.`id`=%s", row[0]);
if (mysql_query(conn, statement)) {
fprintf(stderr, "%s\n", mysql_error(conn));
}
}
我收到Commands out of sync; you can't run this command now
错误