~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
Import upstream version 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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';
 
20
 
 
21
USE `ニホンゴ`;
 
22
USE `日本語`;
 
23
USE `龔龖龗`;
 
24
 
 
25
DROP DATABASE `ニホンゴ`;
 
26
DROP DATABASE `日本語`;
 
27
DROP DATABASE `龔龖龗`;