diff options
author | anozdrin/alik@ibm. <> | 2007-06-29 17:37:17 +0400 |
---|---|---|
committer | anozdrin/alik@ibm. <> | 2007-06-29 17:37:17 +0400 |
commit | 6eb17c289a23120d3e051eb05ea4568d8ec69d7b (patch) | |
tree | 309e6d5979b3993929e20c8563f54ea45bd2c547 /tests/mysql_client_test.c | |
parent | 6794da1159a649ec6485bb73696abb281c7c0a71 (diff) | |
download | mariadb-git-6eb17c289a23120d3e051eb05ea4568d8ec69d7b.tar.gz |
Follow up to the patch for the BUG#10491.
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r-- | tests/mysql_client_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 9bf062f7df8..75c86902972 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -7564,7 +7564,9 @@ static void test_explain_bug() else { verify_prepare_field(result, 6, "key_len", "", MYSQL_TYPE_VAR_STRING, "", - "", "", NAME_LEN*MAX_KEY, 0); + "", "", + NAME_LEN*MAX_KEY / my_charset_utf8_general_ci.mbmaxlen, + 0); } verify_prepare_field(result, 7, "ref", "", MYSQL_TYPE_VAR_STRING, |