summaryrefslogtreecommitdiff
path: root/storage/maria/ma_unique.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_unique.c')
-rw-r--r--storage/maria/ma_unique.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_unique.c b/storage/maria/ma_unique.c
index fd823f7b52d..ec22a7a0112 100644
--- a/storage/maria/ma_unique.c
+++ b/storage/maria/ma_unique.c
@@ -238,7 +238,7 @@ my_bool _ma_unique_comp(MARIA_UNIQUEDEF *def, const uchar *a, const uchar *b,
type == HA_KEYTYPE_VARTEXT2)
{
if (ha_compare_text(keyseg->charset, pos_a, a_length,
- pos_b, b_length, 0, 1))
+ pos_b, b_length, 0))
return 1;
}
else