The following statement doesn't cause an error, but it should:
drop temporary table if exists test.sometable;
create temporary table test.sometable as select 1 from nonexistend_table.field
As a sideffect of this bug, affected rows are not properly counted.
I did some testing and attached a test and a possible patch.
I consider this bug critical because the user doesn't notice when something went wrong.
I considered to split the test into two pieces, however ODBC-222 could easily lead to a regression on this matter and I think it would be a good idea to keep the test it this way.