summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-12-02 16:08:17 +0400
committerhf@deer.(none) <>2004-12-02 16:08:17 +0400
commit71bfbbdcd0660af3aab19eadf130d1e435a241aa (patch)
tree3f93c2c4161b813724ca0573ddda92d71aa94476 /tests
parent733f33cc7c81d70c63aeac08d164f89497840c40 (diff)
downloadmariadb-git-71bfbbdcd0660af3aab19eadf130d1e435a241aa.tar.gz
Fixes to make mysql-test-run --embedded-server working
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index 35990a521a4..a7fadbd3033 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -683,7 +683,9 @@ static void verify_prepare_field(MYSQL_RES *result,
as utf8. Field length is calculated as number of characters * maximum
number of bytes a character can occupy.
*/
+#ifndef EMBEDDED_LIBRARY
DIE_UNLESS(field->length == length * cs->mbmaxlen);
+#endif
if (def)
DIE_UNLESS(strcmp(field->def, def) == 0);
}