Because I was not able to reproduce this bug with 5.7 back in time. But looks like it depends from internal_tmp_disk_storage_engine and default_tmp_storage_engine settings. If they set to MyISAM I either get:
mysql> insert into t1 select * from t1;
ERROR 3 (HY000): Error writing file '/home/sveta/build/ps-5.7/mysql-test/bug64849_data/MLKUpL2m' (Errcode: 28 - No space left on device)
If binlog_error_action=IGNORE_ERROR or
mysql> insert into t1 select * from t1;
ERROR 1598 (HY000): Binary logging not possible. Message: An error occurred during flush stage of the commit. 'binlog_error_action' is set to 'ABORT_SERVER'. Hence aborting the server.
Because I was not able to reproduce this bug with 5.7 back in time. But looks like it depends from internal_ tmp_disk_ storage_ engine and default_ tmp_storage_ engine settings. If they set to MyISAM I either get:
mysql> insert into t1 select * from t1; sveta/build/ ps-5.7/ mysql-test/bug64849_data/MLKUpL2m' (Errcode: 28 - No space left on device)
ERROR 3 (HY000): Error writing file '/home/
If binlog_ error_action= IGNORE_ ERROR or
mysql> insert into t1 select * from t1; error_action' is set to 'ABORT_SERVER'. Hence aborting the server.
ERROR 1598 (HY000): Binary logging not possible. Message: An error occurred during flush stage of the commit. 'binlog_
If binlog_ error_action= ABORT_SERVER