diff --git a/mysql-test/r/innodb.result b/mysql-test/r/innodb.result index 5114b2ead0ef47a826fc7f0ad6b109691ee45889..b9567e3f45fe8ee50203b132785ec203e074d354 100644 --- a/mysql-test/r/innodb.result +++ b/mysql-test/r/innodb.result @@ -1765,7 +1765,7 @@ Variable_name Value Innodb_rows_deleted 2070 show status like "Innodb_rows_inserted"; Variable_name Value -Innodb_rows_inserted 31718 +Innodb_rows_inserted 31722 show status like "Innodb_rows_updated"; Variable_name Value Innodb_rows_updated 29530 diff --git a/mysql-test/r/key.result b/mysql-test/r/key.result index 643ba2b4deee40061e5031ee075bb3e2bc37116d..bc9d3935bc4016aa8737042d7f5d2b7fdd1a3d37 100644 --- a/mysql-test/r/key.result +++ b/mysql-test/r/key.result @@ -345,6 +345,7 @@ c1 c2 2 Test String 3 Test String +drop table t1; create table t1 (a varchar(10), b varchar(10), key(a(10),b(10))); show create table t1; Table Create Table diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test index ed9e15aa7cb2badbadb716dc4706f214794637e2..31763b843798dfef506375c45c01bb43719f927f 100644 --- a/mysql-test/t/key.test +++ b/mysql-test/t/key.test @@ -340,6 +340,9 @@ insert into t1 values (2,' \t\tTest String'); insert into t1 values (3,' \n\tTest String'); update t1 set c2 = 'New Test String' where c1 = 1; select * from t1; +drop table t1; + +# # If we use a partial field for a key that is actually the length of the # field, and we extend the field, we end up with a key that includes the # whole new length of the field.