summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-12-21 10:05:58 +0400
committerunknown <hf@deer.(none)>2004-12-21 10:05:58 +0400
commitfee2e57b675ba2e07bb9833ffbe18996fbf97ccb (patch)
tree5b4be1d54e8bacb1475e40f727a51cf4a942721e /tests
parent4630d406d11a8e7c0e8dc4b8601fc8dd94e8a343 (diff)
downloadmariadb-git-fee2e57b675ba2e07bb9833ffbe18996fbf97ccb.tar.gz
Fix to perform correctly with charsets in embedded server
BitKeeper/deleted/.del-ctype_recoding.result.es~45c6fe567949af: Delete: mysql-test/r/ctype_recoding.result.es BitKeeper/deleted/.del-func_test.result.es~4de135264090aa14: Delete: mysql-test/r/func_test.result.es BitKeeper/deleted/.del-ps_2myisam.result.es~5132bde9c07c41e8: Delete: mysql-test/r/ps_2myisam.result.es BitKeeper/deleted/.del-ps_3innodb.result.es~a3613f0e86132472: Delete: mysql-test/r/ps_3innodb.result.es BitKeeper/deleted/.del-ps_4heap.result.es~956ae2c46b66b6ed: Delete: mysql-test/r/ps_4heap.result.es BitKeeper/deleted/.del-ps_5merge.result.es~6093a834fec21efe: Delete: mysql-test/r/ps_5merge.result.es BitKeeper/deleted/.del-ps_6bdb.result.es~57b94c3756e3d093: Delete: mysql-test/r/ps_6bdb.result.es libmysqld/lib_sql.cc: Charset conversion implemented mysql-test/r/query_cache.result.es: correct test result provided tests/client_test.c: now it works
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);
}