Fix for bug #212

sql/sql_list.h:
  Here we should reset item::last sometimes
This commit is contained in:
unknown 2003-04-16 11:08:21 +05:00
parent fc6456b5c4
commit ed7a263728

View File

@ -201,6 +201,8 @@ public:
*new_list.last=current->next;
current->info=new_list.first->info;
current->next=new_list.first->next;
if ((list->last == &current->next) && (new_list.elements > 1))
list->last= new_list.last;
list->elements+=new_list.elements-1;
}
return ret_value; // return old element