Commit e4c529d9 authored by unknown's avatar unknown

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.
parent 90aa6e00
...@@ -11617,6 +11617,7 @@ static void test_bug7990() ...@@ -11617,6 +11617,7 @@ static void test_bug7990()
static void test_bug8378() static void test_bug8378()
{ {
#ifdef HAVE_CHARSET_gbk
MYSQL *lmysql; MYSQL *lmysql;
char out[9]; /* strlen(TEST_BUG8378)*2+1 */ char out[9]; /* strlen(TEST_BUG8378)*2+1 */
int len; int len;
...@@ -11651,6 +11652,7 @@ static void test_bug8378() ...@@ -11651,6 +11652,7 @@ static void test_bug8378()
DIE_UNLESS(memcmp(out, TEST_BUG8378_OUT, len) == 0); DIE_UNLESS(memcmp(out, TEST_BUG8378_OUT, len) == 0);
mysql_close(lmysql); mysql_close(lmysql);
#endif
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment