Skip to content

Commit

Permalink
MDEV-23358 main.upgrade_MDEV-19650 fails with result difference
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vuvova committed Oct 22, 2020
1 parent 43ec937 commit 897ea21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mysql_upgrade.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 897ea21

Please sign in to comment.