Bug #109444 Handler table flag HA_REQUIRES_KEY_COLUMNS_FOR_DELETE is unused
Submitted: 21 Dec 2022 4:59 Modified: 21 Dec 2022 7:44
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Storage Engine API Severity:S3 (Non-critical)
Version:8.0.31 OS:Any
Assigned to: CPU Architecture:Any

[21 Dec 2022 4:59] Laurynas Biveinis
Description:
No storage engine ever sets HA_REQUIRES_KEY_COLUMNS_FOR_DELETE, and this includes 3rd party engines I was able to check. Removing this would allow cleaning up some dead code where this flag is checked.

How to repeat:
Read source code

Suggested fix:
Remove it
[21 Dec 2022 7:44] MySQL Verification Team
Hello Laurynas,

Thank you for the report and feedback!

regards,
Umesh