summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-03-25 17:30:51 +0400
committerunknown <bar@mysql.com>2005-03-25 17:30:51 +0400
commite4c529d9b5867e04a5f931f6f436e5af90c33704 (patch)
treea649540f27a8bd937484ee878f20fd45cbb4916f /tests
parent90aa6e00a730483e9aa324990d28780571601b58 (diff)
downloadmariadb-git-e4c529d9b5867e04a5f931f6f436e5af90c33704.tar.gz
mysql_client_test.c:
Don't run GBK test if not GBK support was compiled. tests/mysql_client_test.c: Don't run GBK test if not GBK support was compiled.
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 3974bacc2eb..cb274682f9b 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -11617,6 +11617,7 @@ static void test_bug7990()
static void test_bug8378()
{
+#ifdef HAVE_CHARSET_gbk
MYSQL *lmysql;
char out[9]; /* strlen(TEST_BUG8378)*2+1 */
int len;
@@ -11651,6 +11652,7 @@ static void test_bug8378()
DIE_UNLESS(memcmp(out, TEST_BUG8378_OUT, len) == 0);
mysql_close(lmysql);
+#endif
}
/*