• Sergei Petrunia's avatar
    CLX-77: INSERT ... SELECT returns rows to the client instead of inserting · 28e2ca38
    Sergei Petrunia authored
    Make Pushdown_select write output rows into select->join->result, instead of
    thd->protocol.
    
    This makes
    - SELECT ... INTO @var
    - SELECT ... INTO OUTFILE
    - INSERT INTO myisam_table SELECT ... FROM clustrix_table
    work as intended.
    
    Also fixed the federatedx select pushdown handler:
    - Do not fail an assert if the backend no resultset. Produce an error.
    - For the SELECT .. INTO syntax, refuse to use Select Handler, because
    the impelementation doesn't support this.
    28e2ca38
basics.test 1.54 KB