~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/create.result

Remove PLUGIN and MODULES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
select * from t1;
17
17
b
18
18
drop table t1;
19
 
create temporary table t1 (a int not null auto_increment,primary key (a)) engine=heap;
 
19
create temporary table t1 (a int not null auto_increment,primary key (a)) engine=MEMORY;
20
20
drop table t1;
21
 
create temporary table t2 engine=heap select * from t1;
 
21
create temporary table t2 engine=MEMORY select * from t1;
22
22
ERROR 42S02: Table 'test.t1' doesn't exist
23
23
create table t2 select auto+1 from t1;
24
24
ERROR 42S02: Table 'test.t1' doesn't exist
28
28
Note    1051    Unknown table 't2'
29
29
create table t1 (b char(0) not null, index(b));
30
30
ERROR 42000: The used storage engine can't index column 'b'
31
 
create temporary table t1 (a int not null,b text) engine=heap;
 
31
create temporary table t1 (a int not null,b text) engine=MEMORY;
32
32
ERROR 42000: The used table type doesn't support BLOB/TEXT columns
33
33
drop table if exists t1;
34
34
Warnings:
35
35
Note    1051    Unknown table 't1'
36
 
create temporary table t1 (ordid int not null auto_increment, ord  varchar(50) not null, primary key (ord,ordid)) engine=heap;
 
36
create temporary table t1 (ordid int not null auto_increment, ord  varchar(50) not null, primary key (ord,ordid)) engine=MEMORY;
37
37
ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
38
38
create table not_existing_database.test (a int);
39
39
ERROR 42000: Unknown database 'not_existing_database'
76
76
drop table t1;
77
77
drop database if exists mysqltest;
78
78
Warnings:
79
 
Note    1008    Can't drop database 'mysqltest'; database doesn't exist
 
79
Note    1008    Can't drop database './mysqltest/'; database doesn't exist
80
80
create database mysqltest;
81
81
create table mysqltest.$test1 (a$1 int, $b int, c$ int);
82
82
insert into mysqltest.$test1 values (1,2,3);
209
209
if('2002'='2002','Y','N')
210
210
Y
211
211
drop table if exists t1;
212
 
SET SESSION storage_engine="heap";
 
212
SET SESSION storage_engine="MEMORY";
213
213
SELECT @@storage_engine;
214
214
@@storage_engine
215
215
MEMORY
364
364
drop table t1, t2, t3;
365
365
drop table t3;
366
366
drop database mysqltest;
367
 
SET SESSION storage_engine="heap";
 
367
SET SESSION storage_engine="MEMORY";
368
368
SELECT @@storage_engine;
369
369
@@storage_engine
370
370
MEMORY
539
539
create database mysqltest;
540
540
create database if not exists mysqltest;
541
541
Warnings:
542
 
Note    1007    Can't create database 'mysqltest'; database exists
 
542
Note    1007    Can't create database './mysqltest'; database exists
543
543
show create database mysqltest;
544
544
Database        Create Database
545
545
mysqltest       CREATE DATABASE `mysqltest`
1409
1409
database()
1410
1410
имя_базы_в_кодировке_утф8_длиной_больше_чем_45
1411
1411
use test;
1412
 
select SCHEMA_NAME from information_schema.schemata
 
1412
select SCHEMA_NAME from data_dictionary.schemas
1413
1413
where schema_name='имя_базы_в_кодировке_утф8_длиной_больше_чем_45';
1414
1414
SCHEMA_NAME
1415
1415
имя_базы_в_кодировке_утф8_длиной_больше_чем_45
1421
1421
);
1422
1422
select * from имя_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1423
1423
имя_поля_в_кодировке_утф8_длиной_больше_чем_45
1424
 
select TABLE_NAME from information_schema.tables where
 
1424
select TABLE_NAME from information_schema.old_tables where
1425
1425
table_schema='test';
1426
1426
TABLE_NAME
1427
1427
имя_таблицы_в_кодировке_утф8_длиной_больше_чем_48
1428
 
select COLUMN_NAME from information_schema.columns where
 
1428
select COLUMN_NAME from information_schema.old_columns where
1429
1429
table_schema='test';
1430
1430
COLUMN_NAME
1431
1431
имя_поля_в_кодировке_утф8_длиной_больше_чем_45
1432
 
select INDEX_NAME from information_schema.statistics where
 
1432
select INDEX_NAME from data_dictionary.indexes where
1433
1433
table_schema='test';
1434
1434
INDEX_NAME
1435
1435
имя_индекса_в_кодировке_утф8_длиной_больше_чем_48
1440
1440
  KEY `имя_индекса_в_кодировке_утф8_длиной_больше_чем_48` (`имя_поля_в_кодировке_утф8_длиной_больше_чем_45`)
1441
1441
) ENGINE=DEFAULT
1442
1442
drop table имя_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1443
 
create table t1 like information_schema.processlist;
 
1443
create table t1 like information_schema.old_processlist;
1444
1444
ERROR HY000: Table storage engine 'INFORMATION_ENGINE' does not support the create option 'TEMPORARY'
1445
 
create table t1 like information_schema.processlist engine=innodb;
 
1445
create table t1 like information_schema.old_processlist engine=innodb;
1446
1446
show create table t1;
1447
1447
Table   Create Table
1448
1448
t1      CREATE TABLE `t1` (
1456
1456
  `INFO` varchar(16383) DEFAULT NULL
1457
1457
) ENGINE=InnoDB
1458
1458
drop table t1;
1459
 
create temporary table t1 like information_schema.processlist;
 
1459
create temporary table t1 like information_schema.old_processlist;
1460
1460
ERROR HY000: Table storage engine 'INFORMATION_ENGINE' does not support the create option 'TEMPORARY'
1461
 
create temporary table t1 like information_schema.processlist engine=myisam;
 
1461
create temporary table t1 like information_schema.old_processlist engine=myisam;
1462
1462
show create table t1;
1463
1463
Table   Create Table
1464
1464
t1      CREATE TEMPORARY TABLE `t1` (