Commit 0303cd57 authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Merge bk-internal.mysql.com:/home/bk/mysql-4.1

into narttu.mysql.fi:/my/mysql-4.1
parents 7a543344 27cbc507
...@@ -553,14 +553,14 @@ int send_variant_2_list(MEM_ROOT *mem_root, Protocol *protocol, ...@@ -553,14 +553,14 @@ int send_variant_2_list(MEM_ROOT *mem_root, Protocol *protocol,
String **pointers= (String**)alloc_root(mem_root, String **pointers= (String**)alloc_root(mem_root,
sizeof(String*)*names->elements); sizeof(String*)*names->elements);
String **pos= pointers; String **pos;
String **end= pointers + names->elements;
List_iterator<String> it(*names); List_iterator<String> it(*names);
while ((*pos++= it++)); for ( pos= pointers; pos!=end; (*pos++= it++));
qsort(pointers,names->elements,sizeof(String*),string_ptr_cmp); qsort(pointers,names->elements,sizeof(String*),string_ptr_cmp);
String **end= pointers + names->elements;
for (pos= pointers; pos!=end; pos++) for (pos= pointers; pos!=end; pos++)
{ {
protocol->prepare_for_resend(); protocol->prepare_for_resend();
......
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