Commit 1e859d4
committed
MDEV-22973 Assertion in compare_record upon multi-update involving versioned table via view
records_are_comparable() requires this condition: bitmap_is_subset(table->write_set, table->read_set) On first iteration vers_update_fields() changes write_set and read_set. On second iteration the above condition fails. Added missing read bit for ROW_START. Also reorganized bitmap_set_bit() so it is called only when needed.1 parent 58cd2a8 commit 1e859d4
File tree
3 files changed
+28
-3
lines changed- mysql-test/suite/versioning
- r
- t
- sql
3 files changed
+28
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
339 | 352 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8161 | 8161 | | |
8162 | 8162 | | |
8163 | 8163 | | |
8164 | | - | |
8165 | | - | |
8166 | | - | |
8167 | 8164 | | |
8168 | 8165 | | |
8169 | 8166 | | |
| |||
8172 | 8169 | | |
8173 | 8170 | | |
8174 | 8171 | | |
| 8172 | + | |
8175 | 8173 | | |
8176 | 8174 | | |
8177 | 8175 | | |
8178 | 8176 | | |
8179 | 8177 | | |
8180 | 8178 | | |
| 8179 | + | |
8181 | 8180 | | |
8182 | 8181 | | |
| 8182 | + | |
8183 | 8183 | | |
8184 | 8184 | | |
8185 | 8185 | | |
| 8186 | + | |
8186 | 8187 | | |
8187 | 8188 | | |
8188 | 8189 | | |
| |||
0 commit comments