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

« back to all changes in this revision

Viewing changes to mysql-test/r/type_nchar.result

  • 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
drop table if exists t1;
 
2
create table t1 (c nchar(10));
 
3
show create table t1;
 
4
Table   Create Table
 
5
t1      CREATE TABLE `t1` (
 
6
  `c` char(10) CHARACTER SET utf8 DEFAULT NULL
 
7
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
8
drop table t1;
 
9
create table t1 (c national char(10));
 
10
show create table t1;
 
11
Table   Create Table
 
12
t1      CREATE TABLE `t1` (
 
13
  `c` char(10) CHARACTER SET utf8 DEFAULT NULL
 
14
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
15
drop table t1;
 
16
create table t1 (c national varchar(10));
 
17
show create table t1;
 
18
Table   Create Table
 
19
t1      CREATE TABLE `t1` (
 
20
  `c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
 
21
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
22
drop table t1;
 
23
create table t1 (c nvarchar(10));
 
24
show create table t1;
 
25
Table   Create Table
 
26
t1      CREATE TABLE `t1` (
 
27
  `c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
 
28
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
29
drop table t1;
 
30
create table t1 (c nchar varchar(10));
 
31
show create table t1;
 
32
Table   Create Table
 
33
t1      CREATE TABLE `t1` (
 
34
  `c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
 
35
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
36
drop table t1;
 
37
create table t1 (c national character varying(10));
 
38
show create table t1;
 
39
Table   Create Table
 
40
t1      CREATE TABLE `t1` (
 
41
  `c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
 
42
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
43
drop table t1;
 
44
create table t1 (c nchar varying(10));
 
45
show create table t1;
 
46
Table   Create Table
 
47
t1      CREATE TABLE `t1` (
 
48
  `c` varchar(10) CHARACTER SET utf8 DEFAULT NULL
 
49
) ENGINE=MyISAM DEFAULT CHARSET=latin1
 
50
drop table t1;