diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/client_test.c | 2 |
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); } |