facebook / mysql-5.6

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

Refactor sql_print_error + abort pair into a new helper fatal_error #1247

Closed laurynas-biveinis closed 1 year ago

laurynas-biveinis commented 2 years ago

Removes some repetition from the call sites.

The motivation for this changes comes from clone, where startup time fixup adds many such print-error-and-abort instances.

facebook-github-bot commented 2 years ago

@hermanlee has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 2 years ago

@laurynas-biveinis has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 1 year ago

@hermanlee has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.