• Kentoku SHIBA's avatar
    MDEV-20502 Queries against spider tables return wrong values for columns... · 69c86abb
    Kentoku SHIBA authored
    MDEV-20502 Queries against spider tables return wrong values for columns following constant declarations.
    
    When executing a query like "select id, 0 as const, val from ...", there are 3 columns(items) in Query->select at handlerton->create_group_by(). After that, MariaDB makes a temporary table with 2 columns. The skipped items are const item, so fixing Spider to skip const items for items at Query->select.
    69c86abb
spd_db_conn.cc 392 KB