fix for bug #11904 (select statement, cursor, grouping wrong results)
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)
Showing
Please register or sign in to comment