Skip to content

Commit 524878e

Browse files
author
monty@narttu.mysql.fi
committed
Fix for when compiling with HAVE_ISAM enabled
1 parent dad4025 commit 524878e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sql/mysqld.cc

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
#include "ha_innodb.h"
3030
#endif
3131
#include "ha_myisam.h"
32+
#ifdef HAVE_ISAM
33+
#include "ha_isam.h"
34+
#endif
3235
#include <nisam.h>
3336
#include <thr_alarm.h>
3437
#include <ft_global.h>
@@ -5048,12 +5051,12 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
50485051
if (opt_isam)
50495052
{
50505053
isam_skip=0;
5051-
isam_innodb=SHOW_OPTION_YES;
5054+
have_isam= SHOW_OPTION_YES;
50525055
}
50535056
else
50545057
{
50555058
isam_skip=1;
5056-
isam_innodb=SHOW_OPTION_DISABLED;
5059+
have_isam= SHOW_OPTION_DISABLED;
50575060
}
50585061
#endif
50595062
break;

0 commit comments

Comments
 (0)