Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
10.2.2
-
None
Description
Current handler::records() is not fully usable as InnoDB could roll back the statement on some cases and you may not continue after that, it should be int records(ha_rows *n_rows) and server should check as these errors will abort the current query:
case HA_ERR_LOCK_DEADLOCK:
case HA_ERR_LOCK_TABLE_FULL:
case HA_ERR_LOCK_WAIT_TIMEOUT:
case HA_ERR_QUERY_INTERRUPTED:
see commit 40ec5373c0 on 5.7
Attachments
Issue Links
- relates to
-
MDEV-11751 Merge new release of InnoDB MySQL 5.7.18 to 10.2
- Closed
-
MDEV-18188 Maintain persistent COUNT(*) in InnoDB
- Stalled