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

30 lines
579 B
Text
Raw Normal View History

--source include/have_ucs2.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 ucs2 encoding
#
SET NAMES ujis;
SET character_set_database = ucs2;
SET character_set_server = ucs2;
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>`;