From 897ea21e57034e45bf3bc5997ba1b560eabc8221 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 26 Aug 2020 13:08:33 +0200 Subject: 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. --- client/mysql_upgrade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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 -#include "../scripts/mysql_fix_privilege_tables_sql.c" +#include <../scripts/mysql_fix_privilege_tables_sql.c> #include /* ORACLE_WELCOME_COPYRIGHT_NOTICE */ -- cgit v1.2.1