mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
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.
This commit is contained in:
parent
d137b4dbba
commit
b38ff28ade
5 changed files with 92 additions and 15 deletions
|
|
@ -419,11 +419,11 @@ SUCCESS
|
|||
# 4. Read-write statement: UPDATE, update 0 rows, 1 row matches WHERE
|
||||
#
|
||||
update t1 set a=2;
|
||||
call p_verify_status_increment(2, 2, 1, 0);
|
||||
call p_verify_status_increment(2, 0, 1, 0);
|
||||
SUCCESS
|
||||
|
||||
commit;
|
||||
call p_verify_status_increment(2, 2, 1, 0);
|
||||
call p_verify_status_increment(2, 0, 1, 0);
|
||||
SUCCESS
|
||||
|
||||
# 5. Read-write statement: UPDATE, update 0 rows, 0 rows match WHERE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue