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

29 lines
546 B
Text
Raw Normal View History

--source include/have_ujis.inc
--disable_warnings
drop database if exists `<60>ƎΎݎ<CE8E><DD8E><EFBFBD>`;
drop database if exists `<60><><EFBFBD>ܸ<EFBFBD>`;
drop database if exists `<60><>܏<EFBFBD>ݏ<EFBFBD><DD8F>`;
--enable_warnings
#
# Test Creating databases using Japanese charact for DB name in ujis encoding
#
SET NAMES ujis;
SET character_set_database = ujis;
CREATE DATABASE `<60>ƎΎݎ<CE8E><DD8E><EFBFBD>`;
CREATE DATABASE `<60><><EFBFBD>ܸ<EFBFBD>`;
CREATE DATABASE `<60><>܏<EFBFBD>ݏ<EFBFBD><DD8F>`;
SHOW DATABASES;
USE `<60>ƎΎݎ<CE8E><DD8E><EFBFBD>`;
USE `<60><><EFBFBD>ܸ<EFBFBD>`;
USE `<60><>܏<EFBFBD>ݏ<EFBFBD><DD8F>`;
DROP DATABASE `<60>ƎΎݎ<CE8E><DD8E><EFBFBD>`;
DROP DATABASE `<60><><EFBFBD>ܸ<EFBFBD>`;
DROP DATABASE `<60><>܏<EFBFBD>ݏ<EFBFBD><DD8F>`;