Browse Source
Bug#11765255 - 58201: VALGRIND/CRASH WHEN ORDERING BY MULTIPLE AGGREGATE FUNCTIONS
Bug#11765255 - 58201: VALGRIND/CRASH WHEN ORDERING BY MULTIPLE AGGREGATE FUNCTIONS
We must allocate a larger ref_pointer_array. We failed to account for extra items allocated here: #0 find_order_in_list uint el= all_fields.elements; all_fields.push_front(order_item); /* Add new field to field list. */ ref_pointer_array[el]= order_item; order->item= ref_pointer_array + el; #1 setup_order #2 setup_without_group #3 JOIN::preparepull/47/merge
6 changed files with 145 additions and 9 deletions
-
7mysql-test/r/order_by.result
-
57mysql-test/r/union.result
-
7mysql-test/t/order_by.test
-
41mysql-test/t/union.test
-
3sql/sql_lex.cc
-
39sql/sql_union.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue