~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/suite/regression/r/728855.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CREATE TABLE t1 (a blob default '');
 
2
drop table t1;
 
3
CREATE TABLE t1 (a blob);
 
4
ALTER TABLE t1 ALTER a SET DEFAULT '';
 
5
DROP TABLE t1;
 
6
CREATE TABLE t1 (a timestamp default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP);
 
7
ALTER TABLE t1 ALTER a SET DEFAULT '2011-01-01 10:00:00';
 
8
SHOW CREATE TABLE t1;
 
9
Table   Create Table
 
10
t1      CREATE TABLE `t1` (
 
11
  `a` TIMESTAMP NULL DEFAULT '2011-01-01 10:00:00' ON UPDATE CURRENT_TIMESTAMP
 
12
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
13
DROP TABLE t1;
 
14
CREATE TABLE t1 (a timestamp ON UPDATE CURRENT_TIMESTAMP);
 
15
ALTER TABLE t1 ALTER a SET DEFAULT '2011-03-07 17:45:00';
 
16
SHOW CREATE TABLE t1;
 
17
Table   Create Table
 
18
t1      CREATE TABLE `t1` (
 
19
  `a` TIMESTAMP NULL DEFAULT '2011-03-07 17:45:00' ON UPDATE CURRENT_TIMESTAMP
 
20
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
21
DROP TABLE t1;