mirror of
https://github.com/MariaDB/server.git
synced 2025-08-21 16:03:24 +03:00
Contains also MDEV-10547: Test multi_update_innodb fails with InnoDB 5.7 The failure happened because 5.7 has changed the signature of the bool handler::primary_key_is_clustered() const virtual function ("const" was added). InnoDB was using the old signature which caused the function not to be used. MDEV-10550: Parallel replication lock waits/deadlock handling does not work with InnoDB 5.7 Fixed mutexing problem on lock_trx_handle_wait. Note that rpl_parallel and rpl_optimistic_parallel tests still fail. MDEV-10156 : Group commit tests fail on 10.2 InnoDB (branch bb-10.2-jan) Reason: incorrect merge MDEV-10550: Parallel replication can't sync with master in InnoDB 5.7 (branch bb-10.2-jan) Reason: incorrect merge
41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
# insert test
|
|
insert into t1 values (100, 1.1, 'pune');
|
|
insert into t1 values (99, 1.2, 'mumbai');
|
|
insert into t1 values (98, 1.3, 'jaipur');
|
|
insert into t1 values (97, 1.4, 'delhi');
|
|
insert into t1 values (96, 1.5, 'ahmedabad');
|
|
select * from t1;
|
|
select * from t1 where i = 98;
|
|
select * from t1 where i < 100;
|
|
#
|
|
# add index using alter table table
|
|
explain select * from t1 where f > 1.29999;
|
|
alter table t1 add index sec_index(f);
|
|
explain select * from t1 where f > 1.29999;
|
|
select * from t1 where f > 1.29999;
|
|
#
|
|
explain select * from t1 where i = 100;
|
|
alter table t1 add unique index pri_index(i);
|
|
explain select * from t1 where i = 100;
|
|
select * from t1 where i = 100;
|
|
#
|
|
# delete test
|
|
delete from t1 where i < 97;
|
|
select * from t1;
|
|
insert into t1 values (96, 1.5, 'kolkata');
|
|
select * from t1;
|
|
#
|
|
# update test
|
|
update t1 set f = 1.44 where c = 'delhi';
|
|
select * from t1;
|
|
#
|
|
# truncate table
|
|
truncate table t1;
|
|
insert into t1 values (100, 1.1, 'pune');
|
|
insert into t1 values (99, 1.2, 'mumbai');
|
|
insert into t1 values (98, 1.3, 'jaipur');
|
|
insert into t1 values (97, 1.4, 'delhi');
|
|
insert into t1 values (96, 1.5, 'ahmedabad');
|
|
select * from t1;
|
|
|