List:Bugs« Previous MessageNext Message »
From:Michael Widenius Date:April 22 2001 8:17am
Subject:PATCH2: bug report
View as plain text  
Hi!

>>>>> "Andrew" == Andrew Schmidt <aschmidt@stripped> writes:

>> Description:
Andrew>     tough one to describe.   the step by step example shows all
Andrew>     basicly once a table gets more than 1 row and doing a select with no
Andrew> result will yield a blank date... gah please see the example =)

<cut>

When I emailed you a patch for this, I did accidently remove one row
from the source.

Here is a patch you have to apply after my previous patch to fix this.

===== sql/sql_select.cc 1.95 vs edited =====
*** /tmp/sql_select.cc-1.95-6144	Sat Apr 21 17:12:59 2001
--- edited/sql/sql_select.cc	Sun Apr 22 10:57:16 2001
***************
*** 4907,4912 ****
--- 4907,4913 ----
      }
      if (idx < (int) join->send_group_parts)
      {
+       copy_fields(&join->tmp_table_param);
        copy_funcs(join->tmp_table_param.funcs);
        init_sum_functions(join->sum_funcs);
        if (join->procedure)

Regards,
Monty
Thread
bug reportAndrew Schmidt20 Apr
  • Re: bug reportRenĂ© Tegel21 Apr
  • Re: bug reportSinisa Milivojevic21 Apr
  • PATCH: bug reportMichael Widenius21 Apr
  • PATCH2: bug reportMichael Widenius22 Apr