• evgen@moonbone.local's avatar
    Bug#27874: Non-grouped columns are allowed by * in ONLY_FULL_GROUP_BY mode. · 5cd1f992
    evgen@moonbone.local authored
    When fields are inserted instead of * in the select list they were not marked
    for check for the ONLY_FULL_GROUP_BY mode.
    
    The Field_iterator_table::create_item() function now marks newly created
    items for check when in the ONLY_FULL_GROUP_BY mode.
    The setup_wild() and the insert_fields() functions now maintain the
    cur_pos_in_select_list counter for the ONLY_FULL_GROUP_BY mode.
    5cd1f992
sql_base.cc 181 KB