Skip to content

Commit

Permalink
Fix too early exit in init_datadir for mariadb
Browse files Browse the repository at this point in the history
It looks in some scenarios grep may force close mysql_install_db before it finishes initialization
  • Loading branch information
andrii-suse committed Jun 2, 2023
1 parent 40dc470 commit 6b240b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product/ma/local/init_datadir.sh.m4
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ set -e

eatmydata=$(which eatmydata 2>/dev/null) || :

$eatmydata mysql_install_db --no-defaults --data=__datadir --log-error=__workdir/.install | head -n 3
$eatmydata mysql_install_db --no-defaults --data=__datadir --log-error=__workdir/.install | head -n 10

0 comments on commit 6b240b1

Please sign in to comment.