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:
@ -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
|
||||
|
Reference in New Issue
Block a user