summaryrefslogtreecommitdiff
path: root/mysys/my_handler.c
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2005-01-29 23:00:17 +0200
committerSinisa@sinisa.nasamreza.org <>2005-01-29 23:00:17 +0200
commit14d887c423a59e04288214e67e756b52cd30ed7a (patch)
treec32dd6f12229c9fb05e053f091d7a452a1e34bb5 /mysys/my_handler.c
parente5e792b2d1fabdd47b0dd3a892b2cc1b7f734c1d (diff)
parentd8f467cfe8c7f3c84ca50f022c1d5fd454cef41a (diff)
downloadmariadb-git-14d887c423a59e04288214e67e756b52cd30ed7a.tar.gz
Merge sinisa.nasamreza.org:/mnt/work/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/petica
Diffstat (limited to 'mysys/my_handler.c')
-rw-r--r--mysys/my_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_handler.c b/mysys/my_handler.c
index 7c22f02fa2a..6e634dc447c 100644
--- a/mysys/my_handler.c
+++ b/mysys/my_handler.c
@@ -57,7 +57,7 @@ static int compare_bin(uchar *a, uint a_length, uchar *b, uint b_length,
/* put shorter key in a */
a_length= b_length;
a= b;
- swap= -1; /* swap sign of result */
+ swap= -1 ^ 1; /* swap sign of result */
}
for (end= a + a_length-length; a < end ; a++)
{