1Start of 5.4 tests
2CREATE TABLE t1(f1 INT);
3connect  con1,localhost,root,,test;
4connection con1;
5SET lc_messages=ru_RU;
6SHOW VARIABLES LIKE 'lc_messages';
7Variable_name	Value
8lc_messages	ru_RU
9CREATE TABLE t1(f1 INT);
10ERROR 42S01: \0422\0430\0431\043B\0438\0446\0430 't1' \0443\0436\0435 \0441\0443\0449\0435\0441\0442\0432\0443\0435\0442
11SET NAMES utf8;
12CREATE TABLE t1(f1 INT);
13ERROR 42S01: Таблица 't1' уже существует
14connection default;
15SHOW VARIABLES LIKE 'lc_messages';
16Variable_name	Value
17lc_messages	en_US
18CREATE TABLE t1(f1 INT);
19ERROR 42S01: Table 't1' already exists
20SHOW GLOBAL VARIABLES LIKE 'lc_messages';
21Variable_name	Value
22lc_messages	en_US
23SET GLOBAL lc_messages=ru_RU;
24SHOW GLOBAL VARIABLES LIKE 'lc_messages';
25Variable_name	Value
26lc_messages	ru_RU
27SET GLOBAL lc_messages=en_US;
28disconnect con1;
29DROP TABLE t1;
30drop table `ק`;
31ERROR 42S02: Unknown table 'test.ק'
32connect  con1,localhost,root,,test;
33connection con1;
34SET lc_messages=cs_CZ;
35SET NAMES UTF8;
36USE nonexistant;
37ERROR 42000: Neznámá databáze 'nonexistant'
38disconnect con1;
39connection default;
40#
41# Bug#12736295: Buffer overflow for variable converted_err
42#               with non-latin1 server error message
43#
44connect  con1,localhost,root,,test;
45SET lc_messages=ru_RU;
46SET NAMES latin1;
47SELECT '01234567890123456789012345678901234\';
48ERROR 42000: \0423 \0432\0430\0441 \043E\0448\0438\0431\043A\0430 \0432 \0437\0430\043F\0440\043E\0441\0435. \0418\0437\0443\0447\0438\0442\0435 \0434\043E\043A\0443\043C\0435\043D\0442\0430\0446\0438\044E \043F\043E \0438\0441\043F\043E\043B\044C\0437\0443\0435\043C\043E\0439 \0432\0435\0440\0441\0438\0438 MariaDB \043D\0430 \043F\0440\0435\0434\043C\0435\0442 \043A\043E\0440\0440\0435\043A\0442\043D\043E\0433\043E \0441\0438\043D\0442\0430\043A\0441\0438\0441\0430 \043E\043A\043E\043B\043E ''0123456789012345678901234
49disconnect con1;
50connection default;
51End of 5.5 tests
52