Skip to content

Treat log files always as text when parsing with grep - #411

Closed
hadret wants to merge 1 commit into
mariadb-corporation:5.7from
hadret:grep-binary-files-text
Closed

hadret wants to merge 1 commit into
mariadb-corporation:5.7from
hadret:grep-binary-files-text

Conversation

@hadret

@hadret hadret commented Feb 27, 2023

Copy link
Copy Markdown

This change enforces grep to always treat log files as text, preventing it from ever outputting "Binary file /var/log/mysql/error.log matches" as an argument to wsrep_start_position, which may happen when that error.log file contains null pointers. More details in #410

This change enforces grep to always treat log files as text, preventing
it from ever outputing "Binary file /var/log/mysql/error.log matches" as
an argument to `wsrep_start_position` (it may happen when that error.log
file contains null pointers).
@ayurchen

ayurchen commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

Thanks for the pull request! Unfortunately more files had to be fixed, so we had to do our own instead. Will be in the next release.

@ayurchen ayurchen closed this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants