Commit ed7a2637 authored by unknown's avatar unknown

Fix for bug #212


sql/sql_list.h:
  Here we should reset item::last sometimes
parent fc6456b5
......@@ -201,6 +201,8 @@ class base_list_iterator
*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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment