List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:February 23 2000 2:21pm
Subject:Re: Memory fault/coredump while freeing temporary table mysql
3.21.11-alpha
View as plain text  
>>>>> "sasha" == sasha  <sasha@stripped> writes:

<cut>

sasha> Here is the patch for this. It does fix at least this particular problem. It
sasha> comes with the disclaimer that Monty has not officially "blessed" it, so I
> might
sasha> have missed something, but it is still better than a core dump without it :)

sasha> --- mysql-3.23.10-alpha/sql/sql_select.cc	Thu Feb 10 13:08:08 2000
sasha> +++ /home/sasha/src/mysql-3.23.10-alpha/sql/sql_select.cc	Tue Feb 22 15:39:54
sasha> 2000
sasha> @@ -2762,6 +2763,7 @@
sasha>    case Item::INT_ITEM:
sasha>    case Item::REAL_ITEM:
sasha>    case Item::STRING_ITEM:
sasha> +  case Item::REF_ITEM:  
sasha>    {
sasha>      bool maybe_null=item->maybe_null;
sasha>      Field *new_field;


Looks ok.  I have applied the above to my source tree..

(PS: OOM  stands for 'out of memory')

Regards,
Monty
Thread
Memory fault/coredump while freeing temporary table mysql 3.21.11-alphahart22 Feb
  • Re: Memory fault/coredump while freeing temporary table mysql 3.21.11-alphasasha22 Feb
    • Re: Memory fault/coredump while freeing temporary table mysql 3.21.11-alphaJoshua Hart23 Feb
      • Re: Memory fault/coredump while freeing temporary table mysql 3.21.11-alphasasha23 Feb
  • Re: Memory fault/coredump while freeing temporary table mysql 3.21.11-alphasasha23 Feb
    • Re: Memory fault/coredump while freeing temporary table mysql 3.21.11-alphaMichael Widenius23 Feb