MXS-3408 Fix crash in qc_mysqlembedded
Calling send_eof() crashes nowadays and was anyway a workaround for dynamic_cast, in the distant past when dynamic_cast did not work.
This commit is contained in:
		@ -891,7 +891,7 @@ static uint32_t resolve_query_type(parsing_info_t* pi, THD* thd)
 | 
			
		||||
    /** SELECT ..INTO variable|OUTFILE|DUMPFILE */
 | 
			
		||||
    if (lex->result != NULL)
 | 
			
		||||
    {
 | 
			
		||||
        if (lex->result->send_eof())
 | 
			
		||||
        if (dynamic_cast<select_to_file*>(lex->result))
 | 
			
		||||
        {
 | 
			
		||||
            // SELECT ... INTO DUMPFILE|OUTFILE ...
 | 
			
		||||
            type = QUERY_TYPE_WRITE;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user