~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create.test

Merged up with brian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1175
1175
select database();
1176
1176
use test;
1177
1177
 
1178
 
select SCHEMA_NAME from information_schema.schemata
 
1178
select SCHEMA_NAME from data_dictionary.schemas
1179
1179
where schema_name='имя_базы_в_кодировке_утф8_длиной_больше_чем_45';
1180
1180
 
1181
1181
drop database имя_базы_в_кодировке_утф8_длиной_больше_чем_45;
1189
1189
# database, table, field, key
1190
1190
select * from имя_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1191
1191
 
1192
 
select TABLE_NAME from information_schema.tables where
1193
 
table_schema='test';
1194
 
 
1195
 
select COLUMN_NAME from information_schema.columns where
1196
 
table_schema='test';
1197
 
 
1198
 
select INDEX_NAME from information_schema.statistics where
 
1192
select TABLE_NAME from information_schema.old_tables where
 
1193
table_schema='test';
 
1194
 
 
1195
select COLUMN_NAME from information_schema.old_columns where
 
1196
table_schema='test';
 
1197
 
 
1198
select INDEX_NAME from data_dictionary.indexes where
1199
1199
table_schema='test';
1200
1200
 
1201
1201
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
1207
1207
#
1208
1208
# Bug#25629 CREATE TABLE LIKE does not work with INFORMATION_SCHEMA
1209
1209
#
1210
 
--error 1478
1211
 
create table t1 like information_schema.processlist;
1212
 
create table t1 like information_schema.processlist engine=innodb;
 
1210
--error 1005
 
1211
create table t1 like data_dictionary.processlist;
 
1212
create table t1 like data_dictionary.processlist engine=innodb;
1213
1213
show create table t1;
1214
1214
drop table t1;
1215
 
--error 1478
1216
 
create temporary table t1 like information_schema.processlist;
1217
 
create temporary table t1 like information_schema.processlist engine=myisam;
 
1215
--error 1005
 
1216
create temporary table t1 like data_dictionary.processlist;
 
1217
create temporary table t1 like data_dictionary.processlist engine=myisam;
1218
1218
show create table t1;
1219
1219
drop table t1;
1220
1220