summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2006-08-31 11:28:57 -0400
committercmiller@zippy.cornsilk.net <>2006-08-31 11:28:57 -0400
commitbd0451e23222b538159aad158ad2d9d0bacdd5f7 (patch)
tree8a435fdcb472bc76f3f622555833aa798138ab20 /tests
parent6233d8c6968e64d5f09d650bb2ca4269f0aa283c (diff)
parent797b8206ed802166187d4d58612ee7282a8266bc (diff)
downloadmariadb-git-bd0451e23222b538159aad158ad2d9d0bacdd5f7.tar.gz
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my50-no-strange-literals
into zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my51-no-strange-literals
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 5273bf1667b..ce882d005d1 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -10444,8 +10444,9 @@ static void test_ps_i18n()
const char *stmt_text;
MYSQL_BIND bind_array[2];
- const char *koi8= "îÕ, ÚÁ ÒÙÂÁÌËÕ";
- const char *cp1251= "Íó, çà ðûáàëêó";
+ /* Represented as numbers to keep UTF8 tools from clobbering them. */
+ const char *koi8= "\xee\xd5\x2c\x20\xda\xc1\x20\xd2\xd9\xc2\xc1\xcc\xcb\xd5";
+ const char *cp1251= "\xcd\xf3\x2c\x20\xe7\xe0\x20\xf0\xfb\xe1\xe0\xeb\xea\xf3";
char buf1[16], buf2[16];
ulong buf1_len, buf2_len;