~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/create.result

  • Committer: Brian Aker
  • Date: 2010-02-14 02:02:48 UTC
  • mfrom: (1273.13.64 fix_is)
  • Revision ID: brian@gaz-20100214020248-bhovaejhz9fmer3q
Merge in data_dictionary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 data_dictionary.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;
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;
 
1443
create table t1 like data_dictionary.processlist;
 
1444
ERROR HY000: Can't create table 'test.t1' (errno: 1)
 
1445
create table t1 like data_dictionary.processlist engine=innodb;
1446
1446
show create table t1;
1447
1447
Table   Create Table
1448
1448
t1      CREATE TABLE `t1` (
1449
1449
  `ID` bigint NOT NULL DEFAULT '0',
1450
1450
  `USER` varchar(16) NOT NULL DEFAULT '',
1451
 
  `HOST` varchar(64) NOT NULL DEFAULT '',
1452
 
  `DB` varchar(64) DEFAULT NULL,
 
1451
  `HOST` varchar(1025) NOT NULL DEFAULT '',
 
1452
  `DB` varchar(64) NOT NULL DEFAULT '',
1453
1453
  `COMMAND` varchar(16) NOT NULL DEFAULT '',
1454
1454
  `TIME` bigint NOT NULL DEFAULT '0',
1455
 
  `STATE` varchar(64) DEFAULT NULL,
1456
 
  `INFO` varchar(16383) DEFAULT NULL
 
1455
  `STATE` varchar(64) NOT NULL DEFAULT '',
 
1456
  `INFO` varchar(100) NOT NULL DEFAULT ''
1457
1457
) ENGINE=InnoDB
1458
1458
drop table t1;
1459
 
create temporary table t1 like information_schema.processlist;
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;
 
1459
create temporary table t1 like data_dictionary.processlist;
 
1460
ERROR HY000: Can't create table 'test.t1' (errno: 138)
 
1461
create temporary table t1 like data_dictionary.processlist engine=myisam;
1462
1462
show create table t1;
1463
1463
Table   Create Table
1464
1464
t1      CREATE TEMPORARY TABLE `t1` (
1465
1465
  `ID` bigint NOT NULL DEFAULT '0',
1466
1466
  `USER` varchar(16) NOT NULL DEFAULT '',
1467
 
  `HOST` varchar(64) NOT NULL DEFAULT '',
1468
 
  `DB` varchar(64) DEFAULT NULL,
 
1467
  `HOST` varchar(1025) NOT NULL DEFAULT '',
 
1468
  `DB` varchar(64) NOT NULL DEFAULT '',
1469
1469
  `COMMAND` varchar(16) NOT NULL DEFAULT '',
1470
1470
  `TIME` bigint NOT NULL DEFAULT '0',
1471
 
  `STATE` varchar(64) DEFAULT NULL,
1472
 
  `INFO` varchar(16383) DEFAULT NULL
 
1471
  `STATE` varchar(64) NOT NULL DEFAULT '',
 
1472
  `INFO` varchar(100) NOT NULL DEFAULT ''
1473
1473
) ENGINE=MyISAM
1474
1474
drop table t1;
1475
1475