From ecd8f44844c84b7ab0865eeb4e6e0ddd15836e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Mon, 1 Jul 2019 13:55:05 +0300 Subject: [PATCH] Extra comment to mysql_install_db Explain why it makes sense to not consider builddir == srcdir directly, for cases when we do out-of-source builds. --- scripts/mysql_install_db.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh index 27256994ef0..fb1663d9d69 100644 --- a/scripts/mysql_install_db.sh +++ b/scripts/mysql_install_db.sh @@ -243,6 +243,8 @@ then fi if test -n "$srcdir" then + # In an out-of-source build, builddir is not srcdir. Try to guess where + # builddir is by looking for my_print_defaults. if test -z "$builddir" then if test -x "$dirname0/extra/my_print_defaults"