I've the latest nightly build of HeidiSQL 184.108.40.20672.
When I try to export to clipboard a resultset, with SQL DELETEs/INSERTs option the application crashes.
The problem is that the query is not from a table, but is a derived from a Union, so the table name is "Ignote".
SELECT * FROM table_a UNION SELECT * FROM table_a_bak
Should fix this bug like in other options "SQL INSERT" and "SQL REPLACEs":
REPLACE INTO `UnknownTable`