summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2005-01-29 22:56:00 +0200
committerSinisa@sinisa.nasamreza.org <>2005-01-29 22:56:00 +0200
commitd8f467cfe8c7f3c84ca50f022c1d5fd454cef41a (patch)
treec06734720d3c39b344699134e6edd705be61ddc0 /mysys
parent0d32090bcb9a6284028b6e3eee1d1e3fbc2f2f89 (diff)
downloadmariadb-git-d8f467cfe8c7f3c84ca50f022c1d5fd454cef41a.tar.gz
Fix for a "table is full" bug in multi-table updates (Bug #7788)
Diffstat (limited to 'mysys')
-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 00f25924e69..df1e9e55e0a 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++)
{