summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-08-26 13:08:33 +0200
committerSergei Golubchik <serg@mariadb.org>2020-10-22 19:26:58 +0200
commit897ea21e57034e45bf3bc5997ba1b560eabc8221 (patch)
treeff2f90b7faa7201cf6270931795c5996ad2615af
parent43ec9370b328fc9bf82e318bf992953a71925cd3 (diff)
downloadmariadb-git-897ea21e57034e45bf3bc5997ba1b560eabc8221.tar.gz
MDEV-23358 main.upgrade_MDEV-19650 fails with result difference
When including a generated file, always use <...>. We need the compiler to find it in the BINDIR, not in the SRCDIR. But when including as "..." SRCDIR is always searched first. The bug can only happen in out-of-source builds, if there was an in-source build before.
-rw-r--r--client/mysql_upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c
index d18dc97c9b8..8da7a4b01f2 100644
--- a/client/mysql_upgrade.c
+++ b/client/mysql_upgrade.c
@@ -18,7 +18,7 @@
#include "client_priv.h"
#include <sslopt-vars.h>
-#include "../scripts/mysql_fix_privilege_tables_sql.c"
+#include <../scripts/mysql_fix_privilege_tables_sql.c>
#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */