-
Roy Lyseng authored
The problem here is that PROCEDURE ANALYSE binds to the items of the temporary table dictated by SQL_BUFFER_RESULT. This temporary table is released in do_select() in the call to join->join_free(), just before calling join->result->send_eof(), which applies the analysis function. The problem is fixed by delaying removal of temporary table metadata from JOIN_TAB::cleanup() to JOIN::destroy().
Roy Lyseng authoredThe problem here is that PROCEDURE ANALYSE binds to the items of the temporary table dictated by SQL_BUFFER_RESULT. This temporary table is released in do_select() in the call to join->join_free(), just before calling join->result->send_eof(), which applies the analysis function. The problem is fixed by delaying removal of temporary table metadata from JOIN_TAB::cleanup() to JOIN::destroy().
Loading