Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL)
-
None
Description
This will make code like if ( err == DB_SUCCESS) work a bit faster because CPUs have instructions to check for zero fast.
Attachments
Issue Links
- relates to
-
MDEV-19725 Incorrect error handling in ALTER TABLE
-
- Closed
-
This cleanup revealed that a few calls to os_file_read() in MariaDB and Mariabackup 10.2 had not been adjusted to the change of the return type from Boolean to dberr_t. In 10.3, also some calls to os_file_write() were incorrect. This means that errors from these calls were being effectively ignored. That was fixed as part of applying the cleanup.