summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-12-21 10:05:58 +0400
committerhf@deer.(none) <>2004-12-21 10:05:58 +0400
commite5125d3e880fc23a38cbd8e4e3603f3c73b3a163 (patch)
tree5b4be1d54e8bacb1475e40f727a51cf4a942721e /tests
parent533b5dcc78eee48284a072a70a465e5beca57f2a (diff)
downloadmariadb-git-e5125d3e880fc23a38cbd8e4e3603f3c73b3a163.tar.gz
Fix to perform correctly with charsets in embedded server
Diffstat (limited to 'tests')
-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);
}