Commit d5c66804 authored by bar@mysql.com's avatar bar@mysql.com

Code layout fix for bug N 27079

Thanks to Gluh for suggestion.
parent 6d290278
......@@ -6777,9 +6777,9 @@ static void my_uca_scanner_init_ucs2(my_uca_scanner *scanner,
scanner->uca_length= cs->sort_order;
scanner->uca_weight= cs->sort_order_big;
scanner->contractions= cs->contractions;
return;
}
else
{
/*
Sometimes this function is called with
str=NULL and length=0, which should be
......@@ -6795,7 +6795,6 @@ static void my_uca_scanner_init_ucs2(my_uca_scanner *scanner,
*/
scanner->sbeg= (uchar*) &nochar[1];
scanner->send= (uchar*) &nochar[0];
}
}
......
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