mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge from innodb-branches-zip
This commit is contained in:
@ -692,7 +692,6 @@ select count(*) from t1 where sca_pic is null;
|
|||||||
count(*)
|
count(*)
|
||||||
2
|
2
|
||||||
alter table t1 drop index sca_pic, add index sca_pic (cat_code, sca_pic);
|
alter table t1 drop index sca_pic, add index sca_pic (cat_code, sca_pic);
|
||||||
ERROR 42000: Incorrect index name 'sca_pic'
|
|
||||||
alter table t1 drop index sca_pic;
|
alter table t1 drop index sca_pic;
|
||||||
alter table t1 add index sca_pic (cat_code, sca_pic);
|
alter table t1 add index sca_pic (cat_code, sca_pic);
|
||||||
select count(*) from t1 where sca_code='PD' and sca_pic is null;
|
select count(*) from t1 where sca_code='PD' and sca_pic is null;
|
||||||
@ -1753,7 +1752,7 @@ variable_value - @innodb_rows_deleted_orig
|
|||||||
71
|
71
|
||||||
SELECT variable_value - @innodb_rows_inserted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_inserted';
|
SELECT variable_value - @innodb_rows_inserted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_inserted';
|
||||||
variable_value - @innodb_rows_inserted_orig
|
variable_value - @innodb_rows_inserted_orig
|
||||||
1084
|
1087
|
||||||
SELECT variable_value - @innodb_rows_updated_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_updated';
|
SELECT variable_value - @innodb_rows_updated_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_updated';
|
||||||
variable_value - @innodb_rows_updated_orig
|
variable_value - @innodb_rows_updated_orig
|
||||||
885
|
885
|
||||||
|
@ -428,7 +428,9 @@ select count(*) from t1 where sca_code = 'PD';
|
|||||||
select count(*) from t1 where sca_code <= 'PD';
|
select count(*) from t1 where sca_code <= 'PD';
|
||||||
select count(*) from t1 where sca_pic is null;
|
select count(*) from t1 where sca_pic is null;
|
||||||
# this should be fixed by MySQL (see Bug #51451)
|
# this should be fixed by MySQL (see Bug #51451)
|
||||||
--error ER_WRONG_NAME_FOR_INDEX
|
# now that http://bugs.mysql.com/49838 is fixed the following ALTER does
|
||||||
|
# copy the table instead of failing
|
||||||
|
# --error ER_WRONG_NAME_FOR_INDEX
|
||||||
alter table t1 drop index sca_pic, add index sca_pic (cat_code, sca_pic);
|
alter table t1 drop index sca_pic, add index sca_pic (cat_code, sca_pic);
|
||||||
alter table t1 drop index sca_pic;
|
alter table t1 drop index sca_pic;
|
||||||
alter table t1 add index sca_pic (cat_code, sca_pic);
|
alter table t1 add index sca_pic (cat_code, sca_pic);
|
||||||
|
Reference in New Issue
Block a user