summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-11-16 14:04:37 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:27:36 +0100
commitb38ff28ade620b816c62f3df5edd739c779ad023 (patch)
tree24a745eb33b50d224c6685e0cbe24ef427481a08 /mysql-test/include
parentd137b4dbbac1ce53906ca15817334e3a4daa2655 (diff)
downloadmariadb-git-b38ff28ade620b816c62f3df5edd739c779ad023.tar.gz
bugfix: mark_columns_needed_for_update
cannot use TABLE:merge_keys for that, because Field::part_of_key was designed to mark fields for KEY_READ, so a field is not a "part of key", if only prefix of the field is.
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/commit.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/include/commit.inc b/mysql-test/include/commit.inc
index e72ebba8527..830ffb52c02 100644
--- a/mysql-test/include/commit.inc
+++ b/mysql-test/include/commit.inc
@@ -430,9 +430,9 @@ call p_verify_status_increment(2, 2, 2, 2);
--echo # 4. Read-write statement: UPDATE, update 0 rows, 1 row matches WHERE
--echo #
update t1 set a=2;
-call p_verify_status_increment(2, 2, 1, 0);
+call p_verify_status_increment(2, 0, 1, 0);
commit;
-call p_verify_status_increment(2, 2, 1, 0);
+call p_verify_status_increment(2, 0, 1, 0);
--echo # 5. Read-write statement: UPDATE, update 0 rows, 0 rows match WHERE
--echo #