Skip to content
  • Tor Didriksen's avatar
    99a59ef7
    Bug#19855522 ASSERTION `N < M_SIZE' FAILED. | ABORT IN BOUNDS_CHECKED_ARRAY · 99a59ef7
    Tor Didriksen authored
    create_distinct_group() may need some extra space, so do a similar counting
    in setup_ref_array() to have enough space in st_select_lex::ref_pointer_array
    
    Also: shrinking an existing ref_pointer_array, as introduced by 
    WL#5953 - Optimize away useless subquery clauses
    has to be reversed. The '*' wildcards are fixed in the prepare phase,
    but not in the execute phase.
    99a59ef7
    Bug#19855522 ASSERTION `N < M_SIZE' FAILED. | ABORT IN BOUNDS_CHECKED_ARRAY
    Tor Didriksen authored
    create_distinct_group() may need some extra space, so do a similar counting
    in setup_ref_array() to have enough space in st_select_lex::ref_pointer_array
    
    Also: shrinking an existing ref_pointer_array, as introduced by 
    WL#5953 - Optimize away useless subquery clauses
    has to be reversed. The '*' wildcards are fixed in the prepare phase,
    but not in the execute phase.
Loading