Debian Codegraph @

mysql-test/suite/jp/t/jp_create_db_utf8.test

raw
1 --source include/have_utf8.inc
2 --disable_warnings
3 drop database if exists `ニホンゴ`;
4 drop database if exists `日本語`;
5 drop database if exists `龔龖龗`;
6 --enable_warnings
7
8 #
9 # Test Creating databases using Japanese charact for DB name in utf8 encoding
10 #
11
12 SET NAMES utf8;
13 SET character_set_database = utf8;
14
15 CREATE DATABASE `ニホンゴ`;
16 CREATE DATABASE `日本語`;
17 CREATE DATABASE `龔龖龗`;
18
19 SELECT schema_name from information_schema.schemata where schema_name <> 'mtr' ORDER BY schema_name;
20
21 USE `ニホンゴ`;
22 USE `日本語`;
23 USE `龔龖龗`;
24
25 DROP DATABASE `ニホンゴ`;
26 DROP DATABASE `日本語`;
27 DROP DATABASE `龔龖龗`;