Fix for bug #212
sql/sql_list.h: Here we should reset item::last sometimes
This commit is contained in:
parent
fc6456b5c4
commit
ed7a263728
@ -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 == ¤t->next) && (new_list.elements > 1))
|
||||
list->last= new_list.last;
|
||||
list->elements+=new_list.elements-1;
|
||||
}
|
||||
return ret_value; // return old element
|
||||
|
Loading…
x
Reference in New Issue
Block a user