• unknown's avatar
    fix for bug #11904 (select statement, cursor, grouping wrong results) · 6d74f5b0
    unknown authored
    
    sql/sql_select.cc:
      reset the group functions and copy the values of the first row before exiting because of
      maximal number of rows has been read for this cursor fetch. the additional variable is needed
      to save code duplication.
    tests/mysql_client_test.c:
      test for bug #11904 (cursor grouping wrong result)
    6d74f5b0
sql_select.cc 425 KB