Automatically add SQL_BUFFER_RESULT if INSERT is done from SELECT comprising a table to be inserted in.