~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_table_options.test

  • Committer: Stewart Smith
  • Date: 2010-07-27 00:49:32 UTC
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100727004932-basq3vx9szmmbswm
fix storing and manipulating foreign keys in the proto around ALTER TABLE, CREATE TABLE and ALTER TABLE ADD/DROP FOREIGN KEY. We also (mostly) emulate the naming of innodb foreign keys in the upper layer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--error ER_UNKNOWN_ENGINE_OPTION
 
1
--error 1698
2
2
CREATE TABLE t1 (a int) FOO=BAR, INVALIDFOOBAR=0;
3
3
 
4
 
--error ER_UNKNOWN_ENGINE_OPTION
 
4
--error 1698
5
5
CREATE TABLE t1 (a int) INVALIDFOOBAR=0;
6
6
 
7
 
--error ER_UNKNOWN_ENGINE_OPTION
 
7
--error 1698
8
8
CREATE TABLE t1 (a int) INVALIDFOOBAR=foo;
9
9
 
10
 
--error ER_UNKNOWN_ENGINE_OPTION
 
10
--error 1698
11
11
CREATE TABLE t1 (a int) INVALIDFOOBAR="foa";