mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
error messages: name the storage engine explicitly,
instead of "used storage engine" and similar changes.
This commit is contained in:
@ -415,7 +415,7 @@ alter table t1 drop key a;
|
||||
drop table t1;
|
||||
CREATE TABLE T12207(a int) ENGINE=MYISAM;
|
||||
ALTER TABLE T12207 DISCARD TABLESPACE;
|
||||
ERROR HY000: Table storage engine for 'T12207' doesn't have this option
|
||||
ERROR HY000: Storage engine MyISAM of the table `test`.`T12207` doesn't have this option
|
||||
DROP TABLE T12207;
|
||||
create table t1 (a text) character set koi8r;
|
||||
insert into t1 values (_koi8r'<27><><EFBFBD><EFBFBD>');
|
||||
|
@ -2,5 +2,5 @@ drop table if exists t1,t2;
|
||||
CREATE TABLE t1 (a INT, INDEX(a)) engine=innodb;
|
||||
ALTER TABLE t1 RENAME TO t2, DISABLE KEYS;
|
||||
Warnings:
|
||||
Note 1031 Table storage engine for 't1' doesn't have this option
|
||||
Note 1031 Storage engine InnoDB of the table `test`.`t1` doesn't have this option
|
||||
DROP TABLE t2;
|
||||
|
@ -31,9 +31,9 @@ Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
Note 1051 Unknown table 't2'
|
||||
create table t1 (b char(0) not null, index(b));
|
||||
ERROR 42000: The used storage engine can't index column 'b'
|
||||
ERROR 42000: The storage engine MyISAM can't index column `b`
|
||||
create table t1 (a int not null,b text) engine=heap;
|
||||
ERROR 42000: The used table type doesn't support BLOB/TEXT columns
|
||||
ERROR 42000: Storage engine MEMORY doesn't support BLOB/TEXT columns
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
|
@ -18,10 +18,10 @@ SET DEBUG_SYNC='now SIGNAL table_altered';
|
||||
# Complete optimization
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 optimize note Table does not support optimize, doing recreate + analyze instead
|
||||
test.t1 optimize error Got error -1 "Internal error < 0 (Not system error)" from storage engine
|
||||
test.t1 optimize error Got error -1 "Internal error < 0 (Not system error)" from storage engine MEMORY
|
||||
test.t1 optimize status Operation failed
|
||||
Warnings:
|
||||
Error 1030 Got error -1 "Internal error < 0 (Not system error)" from storage engine
|
||||
Error 1030 Got error -1 "Internal error < 0 (Not system error)" from storage engine MEMORY
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC='RESET';
|
||||
#
|
||||
|
@ -251,7 +251,7 @@ alter table mysql.slow_log engine=NonExistentEngine;
|
||||
Warnings:
|
||||
Warning 1286 Unknown storage engine 'NonExistentEngine'
|
||||
alter table mysql.slow_log engine=memory;
|
||||
ERROR HY000: This storage engine cannot be used for log tables
|
||||
ERROR HY000: Storage engine MEMORY cannot be used for log tables
|
||||
set storage_engine= @save_storage_engine;
|
||||
drop table mysql.slow_log;
|
||||
drop table mysql.general_log;
|
||||
|
@ -2257,7 +2257,7 @@ CREATE TABLE m1(a int)engine=merge union=(t1,t2,t3,t4,t5,t6,t7);
|
||||
SELECT 1 FROM m1;
|
||||
1
|
||||
HANDLER m1 OPEN;
|
||||
ERROR HY000: Table storage engine for 'm1' doesn't have this option
|
||||
ERROR HY000: Storage engine MRG_MyISAM of the table `test`.`m1` doesn't have this option
|
||||
DROP TABLE m1,t1,t2,t3,t4,t5,t6,t7;
|
||||
SELECT 1 FROM m1;
|
||||
ERROR 42S02: Table 'test.m1' doesn't exist
|
||||
@ -3552,7 +3552,7 @@ CREATE TABLE t2 (c1 int);
|
||||
CREATE TABLE t3 (c1 int) ENGINE = MERGE UNION (t1,t2);
|
||||
START TRANSACTION;
|
||||
HANDLER t3 OPEN;
|
||||
ERROR HY000: Table storage engine for 't3' doesn't have this option
|
||||
ERROR HY000: Storage engine MRG_MyISAM of the table `test`.`t3` doesn't have this option
|
||||
DROP TABLE t1, t2, t3;
|
||||
# Connection default.
|
||||
# Disconnecting con1, all mdl_tickets must have been released.
|
||||
|
@ -618,7 +618,7 @@ t1 1 a 1 a A 1000 NULL NULL YES BTREE
|
||||
alter table t1 engine=heap;
|
||||
alter table t1 disable keys;
|
||||
Warnings:
|
||||
Note 1031 Table storage engine for 't1' doesn't have this option
|
||||
Note 1031 Storage engine MEMORY of the table `test`.`t1` doesn't have this option
|
||||
show keys from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
||||
t1 1 a 1 a NULL 500 NULL NULL YES HASH
|
||||
|
@ -67,7 +67,7 @@ LOCK TABLE t1 WRITE;
|
||||
# ALTER fails because COMPRESSED/KEY_BLOCK_SIZE
|
||||
# are incompatible with innodb_file_per_table = OFF;
|
||||
ALTER TABLE t1 ADD PARTITION PARTITIONS 1;
|
||||
ERROR HY000: Got error 140 "Wrong create options" from storage engine
|
||||
ERROR HY000: Got error 140 "Wrong create options" from storage engine InnoDB
|
||||
t1#P#p0.ibd
|
||||
t1.frm
|
||||
t1.par
|
||||
|
@ -94,4 +94,4 @@ PARTITION p1 DATA DIRECTORY = '/not/existent/p1Data',
|
||||
PARTITION p2 DATA DIRECTORY = '/not/existent/p2Data',
|
||||
PARTITION p3 DATA DIRECTORY = '/not/existent/p3Data'
|
||||
);
|
||||
Got one of the listed errors
|
||||
ERROR HY000: Can't create/write to file '/not/existent/p0Data/example#P#p0.MYD' (Errcode: 2 "No such file or directory")
|
||||
|
Reference in New Issue
Block a user