Skip to content
Snippets Groups Projects
Commit 39a462e0 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

error: report ER_READONLY reason in message

A previous commit added reason details as error fields. But error
objects are serialized as strings by default thus loosing all the
details.

This commit makes ER_READONLY message contain the reason why it
happened in a human-readable form. That way it will be well
visible in the logs at least.

Follow-up #5568
parent f57b3142
No related branches found
No related tags found
No related merge requests found
Showing with 106 additions and 30 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment