• Sergei Petrunia's avatar
    MDEV-21887: federatedx crashes on SELECT ... INTO query in select_handler code · af4b2ae8
    Sergei Petrunia authored
    Backport to 10.4:
    
    - Don't try to push down SELECTs that have a side effect
    
    - In case the storage engine did support pushdown of SELECT with an INTO
      clause, write the rows we've got from it into select->join->result,
      and not thd->protocol.  This way, SELECT ... INTO ... FROM
      smart_engine_table will put the result into where instructed, and
      NOT send it to the client.
    af4b2ae8
select_handler.cc 4.31 KB