summaryrefslogtreecommitdiff
path: root/tests/client_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client_test.c')
-rw-r--r--tests/client_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index 0575b355b05..dc18929341c 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -683,9 +683,7 @@ 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);
}