~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to tests/r/show_create_table_varbinary.result

  • Committer: Patrick Crews
  • Date: 2010-08-19 23:23:15 UTC
  • mfrom: (1720.1.3 build)
  • Revision ID: gleebix@gmail.com-20100819232315-xcpbkwc5vz7kjhrp
Rollup patch - stewart's show create table patch + a couple of fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CREATE TABLE t1 (a varbinary(4) default '');
 
2
show create table t1;
 
3
Table   Create Table
 
4
t1      CREATE TABLE `t1` (
 
5
  `a` varbinary(4) DEFAULT ''
 
6
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
7
drop table t1;
 
8
create table t2 (a varbinary(4) default 'foo');
 
9
show create table t2;
 
10
Table   Create Table
 
11
t2      CREATE TABLE `t2` (
 
12
  `a` varbinary(4) DEFAULT 0x666F6F
 
13
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
14
drop table t2;
 
15
create table t3 (a varbinary(4) default 0x01020304);
 
16
show create table t3;
 
17
Table   Create Table
 
18
t3      CREATE TABLE `t3` (
 
19
  `a` varbinary(4) DEFAULT 0x01020304
 
20
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
21
drop table t3;
 
22
create table t4 (a varbinary(4) default '\n');
 
23
show create table t4;
 
24
Table   Create Table
 
25
t4      CREATE TABLE `t4` (
 
26
  `a` varbinary(4) DEFAULT 0x0A
 
27
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
28
drop table t4;
 
29
CREATE TABLE `t4` (
 
30
`a` varbinary(4) DEFAULT 0x0A
 
31
) ENGINE=InnoDB;
 
32
SHOW CREATE TABLE t4;
 
33
Table   Create Table
 
34
t4      CREATE TABLE `t4` (
 
35
  `a` varbinary(4) DEFAULT 0x0A
 
36
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
37
DROP TABLE t4;