facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.48k stars 712 forks source link

use record[0] in Raw_record::drop() #1320

Closed luqun closed 1 year ago

luqun commented 1 year ago

When ddse fetch data from SE, it always store data into record[0]. see https://github.com/.../sql/dd/impl/raw/raw_record_set.cc.... From convention, it should also delete data using record[0] in Raw_record::drop().

Although INNODB use prebuilt->pcur instead of record[0]/record[1] during delete_row, other SE may still depend on record[0]/record[1] to delete all index correctly.

laurynas-biveinis commented 1 year ago

Confirmed that this works

luqun commented 1 year ago

committed