~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/jp/t/jp_create_db_ucs2.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
Import upstream version 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--source include/have_ucs2.inc
 
2
 
 
3
--disable_warnings
 
4
drop database if exists `�ƎΎݎ���`;
 
5
drop database if exists `���ܸ�`;
 
6
drop database if exists `��܏�ݏ��`;
 
7
--enable_warnings
 
8
 
 
9
#
 
10
# Test Creating databases using Japanese charact for DB name in ucs2 encoding
 
11
#
 
12
 
 
13
SET NAMES ujis;
 
14
SET character_set_database = ucs2;
 
15
SET character_set_server = ucs2;
 
16
 
 
17
CREATE DATABASE `�ƎΎݎ���`;
 
18
CREATE DATABASE `���ܸ�`;
 
19
CREATE DATABASE `��܏�ݏ��`;
 
20
 
 
21
SELECT schema_name from information_schema.schemata where schema_name <> 'mtr';
 
22
 
 
23
USE `�ƎΎݎ���`;
 
24
USE `���ܸ�`;
 
25
USE `��܏�ݏ��`;
 
26
 
 
27
DROP DATABASE `�ƎΎݎ���`;
 
28
DROP DATABASE `���ܸ�`;
 
29
DROP DATABASE `��܏�ݏ��`;