mariadb/mysql-test/suite/jp/t/jp_create_db_sjis.test

27 lines
618 B
Text

--source include/have_sjis.inc
--character_set sjis
SET NAMES sjis;
SET character_set_database = sjis;
--disable_warnings
drop database if exists `ニホンゴ`;
drop database if exists `日本語`;
drop database if exists `ソ十表`;
--enable_warnings
#
# Test Creating databases using Japanese charact for DB name in ujis encoding
#
CREATE DATABASE `ニホンゴ`;
CREATE DATABASE `日本語`;
CREATE DATABASE `ソ十表`;
SELECT schema_name from information_schema.schemata where schema_name <> 'mtr' ORDER BY schema_name;
USE `ニホンゴ`;
USE `日本語`;
USE `ソ十表`;
DROP DATABASE `ニホンゴ`;
DROP DATABASE `日本語`;
DROP DATABASE `ソ十表`;