Commit 14d887c4 authored by Sinisa@sinisa.nasamreza.org's avatar Sinisa@sinisa.nasamreza.org

Merge sinisa.nasamreza.org:/mnt/work/mysql-4.1

into sinisa.nasamreza.org:/mnt/work/petica
parents e5e792b2 d8f467cf
...@@ -57,7 +57,7 @@ static int compare_bin(uchar *a, uint a_length, uchar *b, uint b_length, ...@@ -57,7 +57,7 @@ static int compare_bin(uchar *a, uint a_length, uchar *b, uint b_length,
/* put shorter key in a */ /* put shorter key in a */
a_length= b_length; a_length= b_length;
a= b; a= b;
swap= -1; /* swap sign of result */ swap= -1 ^ 1; /* swap sign of result */
} }
for (end= a + a_length-length; a < end ; a++) for (end= a + a_length-length; a < end ; a++)
{ {
......
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