1440
1440
KEY `имя_индекса_в_кодировке_утф8_длиной_больше_чем_48` (`имя_поля_в_кодировке_утф8_длиной_больше_чем_45`)
1441
1441
) ENGINE=DEFAULT
1442
1442
drop table имя_таблицы_в_кодировке_утф8_длиной_больше_чем_48;
1443
create table t1 like information_schema.old_processlist;
1444
ERROR HY000: Table storage engine 'INFORMATION_ENGINE' does not support the create option 'TEMPORARY'
1445
create table t1 like information_schema.old_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
1459
create temporary table t1 like information_schema.old_processlist;
1460
ERROR HY000: Table storage engine 'INFORMATION_ENGINE' does not support the create option 'TEMPORARY'
1461
create temporary table t1 like information_schema.old_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