~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Marisa Plumb
  • Date: 2010-12-04 02:38:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1984.
  • Revision ID: marisa.plumb@gmail.com-20101204023829-2khzxh30wxi256db
updates to a few sql docs 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CREATE TABLE t1 (id INT PRIMARY KEY);
2
 
CREATE TABLE `t2` LIKE `t1`;
3
 
ALTER TABLE `t2` ADD FOREIGN KEY (`id`) REFERENCES `t1`(`id`);
4
 
CREATE TABLE `t3` LIKE `t2`;
5
 
SHOW CREATE TABLE t3;
6
 
Table   Create Table
7
 
t3      CREATE TABLE `t3` (
8
 
  `id` INT NOT NULL,
9
 
  PRIMARY KEY (`id`),
10
 
  CONSTRAINT `t3_ibfk_1` FOREIGN KEY (`id`) REFERENCES `t1` (`id`)
11
 
) ENGINE=InnoDB COLLATE = utf8_general_ci
12
 
DROP TABLE t2, t3, t1;