~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create.test

  • Committer: Brian Aker
  • Date: 2010-05-20 00:15:10 UTC
  • Revision ID: brian@gaz-20100520001510-0kh8z2ujv5kjpn8i
This fixes a bug where we did a full open for a temporary table for CREATE
TABLE LIKE when all we really needed to do was look at the definition.

BTW I realized this bug while looking at placeholders and seeing that one
was somehow being reused for a temporary table. We don't have nearly enough
logic in the system to correctly make sure that placeholders do not get
recycled (though they should not be).

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
47
47
show create table `a/a`;
48
48
create table t1 like `a/a`;
 
49
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
 
50
show create table t1;
 
51
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
 
52
show create table `t1`;
49
53
drop table `a/a`;
50
54
drop table `t1`;
51
55
--error 1103