~maria-captains/maria/5.3

Viewing all changes in revision 2643.155.1.

  • Committer: Igor Babaev
  • Date: 2013-01-21 19:47:45 UTC
  • mto: (2643.153.36 maria-5.1)
  • mto: This revision was merged to the branch mainline in revision 3617.
  • Revision ID: igor@askmonty.org-20130121194745-49cowvg7wutzq0nq
Fixed bug mdev-4063 (bug #56927).
This bug could result in returning 0 for the expressions of the form 
<aggregate_function>(distinct field) when the system variable  
max_heap_table_size was set to a small enough number.
It happened because the method Unique::walk() did not support
the case when more than one pass was needed to merge the trees
of distinct values saved in an external file.

Backported a fix in grant_lowercase.test from mariadb 5.5.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: