~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/t/622465.test

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:28:23 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103032823-44k21f0njmk97omr
fix docs warning: Title underline (and overline) is too short in brief_history_of_drizzle.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Make sure that foreign keys transfer with CREATE TABLE LIKE
2
 
CREATE TABLE t1 (id INT PRIMARY KEY);
3
 
 
4
 
CREATE TABLE `t2` LIKE `t1`;
5
 
ALTER TABLE `t2` ADD FOREIGN KEY (`id`) REFERENCES `t1`(`id`);
6
 
 
7
 
CREATE TABLE `t3` LIKE `t2`;
8
 
SHOW CREATE TABLE t3;
9
 
 
10
 
DROP TABLE t2, t3, t1;