mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
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.
This commit is contained in:
@@ -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()
|
|||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user