Commit 0a45e25
committed
MDEV-40740: Optimizer Context Replay: innodb.xa_unlock_unmodified fails assert
Optimizer Context code changed format_and_store_row() to check both
table->read_set and table->write_set (when required). It used to
use one of those depending on the lock level.
But we don't set the table->read_set bit so we can get an assertion
failure when dumping the column value.
This is fairly rare as Optimizer Context now reads all columns, and the
only other user is statements like "DBUG_PRINT("dml", dbug_format_row(..."1 parent 9dfe5b4 commit 0a45e25
1 file changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3104 | 3104 | | |
3105 | 3105 | | |
3106 | 3106 | | |
3107 | | - | |
3108 | | - | |
3109 | | - | |
3110 | | - | |
| 3107 | + | |
| 3108 | + | |
3111 | 3109 | | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
3112 | 3120 | | |
3113 | 3121 | | |
3114 | 3122 | | |
| |||
3149 | 3157 | | |
3150 | 3158 | | |
3151 | 3159 | | |
| 3160 | + | |
| 3161 | + | |
3152 | 3162 | | |
3153 | 3163 | | |
3154 | 3164 | | |
| |||
0 commit comments