From f1e13fdc8d9e78f4529aa60b6a9b49c6ff063c66 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Sun, 26 Jan 2020 20:27:13 +0400 Subject: MDEV-21581 Helper functions and methods for CHARSET_INFO --- mysys/mf_pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysys/mf_pack.c') diff --git a/mysys/mf_pack.c b/mysys/mf_pack.c index d79aa18dab2..b8722a2fdde 100644 --- a/mysys/mf_pack.c +++ b/mysys/mf_pack.c @@ -1,5 +1,5 @@ /* Copyright (c) 2000, 2013, Oracle and/or its affiliates. - Copyright (c) 2012, 2013, Monty Program Ab. + Copyright (c) 2012, 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -152,7 +152,7 @@ size_t cleanup_dirname(register char *to, const char *from) { #ifdef BACKSLASH_MBTAIL uint l; - if (use_mb(fs) && (l= my_ismbchar(fs, from_ptr - 1, from_ptr + 2))) + if (my_ci_use_mb(fs) && (l= my_ismbchar(fs, from_ptr - 1, from_ptr + 2))) { for (l-- ; l ; *++pos= *from_ptr++, l--); start= pos + 1; /* Don't look inside multi-byte char */ -- cgit v1.2.1