1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

fixed compilation failure affects build without InnoDB

sql/mysql_priv.h:
  IF_INNOBASE_DB macro added
This commit is contained in:
unknown
2005-02-24 20:55:20 +04:00
parent 5c1fcd4bbb
commit 5abbffd702
2 changed files with 10 additions and 6 deletions

View File

@ -171,6 +171,12 @@ extern CHARSET_INFO *national_charset_info, *table_alias_charset;
#define FLUSH_TIME 0 /* Don't flush tables */
#define MAX_CONNECT_ERRORS 10 // errors before disabling host
#ifdef HAVE_INNOBASE_DB
#define IF_INNOBASE_DB(A, B) (A)
#else
#define IF_INNOBASE_DB(A, B) (B)
#endif
#if defined(__WIN__) || defined(OS2)
#define IF_WIN(A,B) (A)
#undef FLUSH_TIME