mirror of
https://github.com/MariaDB/server.git
synced 2025-11-12 10:22:39 +03:00
Added on-line handling of altered frm in binlog thread
This commit is contained in:
@@ -3,10 +3,19 @@ create table t1 ( a int primary key, b varchar(10), c varchar(10), index (b) )
|
||||
engine=ndb;
|
||||
insert into t1 values (1,'one','one'), (2,'two','two'), (3,'three','three');
|
||||
create index c on t1(c);
|
||||
show indexes from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||
t1 0 PRIMARY 1 a A 3 NULL NULL BTREE
|
||||
t1 1 b 1 b A 3 NULL NULL YES BTREE
|
||||
t1 1 c 1 c A 3 NULL NULL YES BTREE
|
||||
select * from t1 where c = 'two';
|
||||
a b c
|
||||
2 two two
|
||||
alter table t1 drop index c;
|
||||
show indexes from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||
t1 0 PRIMARY 1 a A 3 NULL NULL BTREE
|
||||
t1 1 b 1 b A 3 NULL NULL YES BTREE
|
||||
select * from t1 where c = 'two';
|
||||
a b c
|
||||
2 two two
|
||||
|
||||
Reference in New Issue
Block a user