codership / mysql-wsrep

wsrep API patch for MySQL server
Other
65 stars 34 forks source link

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

Closed hadret closed 10 months ago

hadret commented 1 year ago

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

ayurchen commented 10 months ago

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.