~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to tests/t/create.test

  • Committer: Padraig O'Sullivan
  • Date: 2010-04-17 01:38:47 UTC
  • mfrom: (1237.9.238 bad-staging)
  • Revision ID: osullivan.padraig@gmail.com-20100417013847-ibjioqsfbmf5yg4g
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
--error 1075
41
41
create temporary table t1 (ordid int not null auto_increment, ord  varchar(50) not null, primary key (ord,ordid)) engine=MEMORY;
42
42
 
 
43
-- error 1049
43
44
create table not_existing_database.test (a int);
44
45
create table `a/a` (a int);
45
46
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
242
242
--error ER_DUP_ENTRY
243
243
create table if not exists t1 select 3 as 'a',3 as 'b';
244
244
show warnings;
245
 
--replace_column 2 #
246
 
show status like "Opened_tables";
 
245
--replace_column 3 # 4 # 5 #
 
246
select * from DATA_DICTIONARY.TABLE_DEFINITION_CACHE WHERE TABLE_COUNT > 1 ORDER BY TABLE_SCHEMA, TABLE_NAME;
247
247
select * from t1;
248
248
drop table t1;
249
249
 
320
320
create table t3 like t1;
321
321
--error 1050
322
322
create table t3 like mysqltest.t3;
323
 
--error 1005
 
323
--error 1049
324
324
create table non_existing_database.t1 like t1;
325
325
--error ER_NO_SUCH_TABLE
326
326
create table t3 like non_existing_table;