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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.