~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/comment_column.test

  • Committer: Andrew Hutchings
  • Date: 2011-03-18 16:53:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2243.
  • Revision ID: andrew@linuxjedi.co.uk-20110318165327-a11z8fgw99i8s93o
Make SHOW CREATE TABLE error if table doesn't exist

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
SELECT column_comment,char_length(column_comment) FROM data_dictionary.columns WHERE table_name='t1';
100
100
SELECT index_comment,char_length(index_comment) FROM data_dictionary.indexes WHERE table_name='t1';
101
101
let $ENGINE=`select variable_value from data_dictionary.global_variables where variable_name='STORAGE_ENGINE'`;
102
 
--replace_result $ENGINE ENGINE
 
102
--error ER_BAD_TABLE_ERROR
103
103
SHOW CREATE TABLE t1;
104
104
 
105
105
# comment overflow(error)