summaryrefslogtreecommitdiff
path: root/mysql-test/main/events_grant.test
diff options
context:
space:
mode:
authorBrandon Nesterenko <brandon.nesterenko@mariadb.com>2022-07-05 07:12:49 -0600
committerBrandon Nesterenko <brandon.nesterenko@mariadb.com>2022-07-13 09:03:32 -0600
commit02e85aeafdc3fbe7d628e155880390c4d623f9b4 (patch)
tree32f48a3700b2b66d0317133fe374ec8ccf7aa7c6 /mysql-test/main/events_grant.test
parent96be3fe8416d312e08d67b36608e7b2d5a865d5d (diff)
downloadmariadb-git-02e85aeafdc3fbe7d628e155880390c4d623f9b4.tar.gz
MDEV-28487: sequences not respect value of binlog_row_image with select nextval(seq_gen)
Problem: ======== When using sequences, the function sequence_definition::write(TABLE *table, bool all_fields) is used to save DML/DDL updates to sequence tables (e.g. nextval, setval, and alter). Prior to this patch, the value all_fields was always false when invoked via nextval and setval, which forced the bitmap to only include changed columns. Solution: ======== Change all_fields when invoked via nextval and setval to be reliant on binlog_row_image, such that it is false when binlog_row_image is MINIMAL, and true otherwise. Reviewed By: =========== Andrei Elkin <andrei.elkin@mariadb.com>
Diffstat (limited to 'mysql-test/main/events_grant.test')
0 files changed, 0 insertions, 0 deletions