summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-06-03 11:57:34 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-06-03 11:57:34 +0400
commit1fe92fb87db4a59ca0a4ac1ab1223e3cbe2b8232 (patch)
tree6367735950e62e3bbbc6c8ea643f32461c206c12 /sql/sql_plugin.h
parent0aa4fb73a49993d3a73550ee624b62d7556f8515 (diff)
downloadmariadb-git-1fe92fb87db4a59ca0a4ac1ab1223e3cbe2b8232.tar.gz
Fixing the problem with my_bool_t defined two times.
(it worked fine with the modern gcc, but failed on some other compilers). modified: include/my_global.h include/mysql/plugin.h include/mysql/plugin_audit.h.pp include/mysql/plugin_auth.h.pp include/mysql/plugin_ftparser.h.pp include/mysql/service_thd_timezone.h sql/item_func.cc sql/mysqld.cc sql/set_var.cc sql/sql_plugin.cc sql/sql_plugin.h sql/sql_show.cc sql/sys_vars.cc storage/perfschema/ha_perfschema.cc
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index 906ff20ddb7..5327b27e97c 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -17,7 +17,6 @@
#ifndef _sql_plugin_h
#define _sql_plugin_h
-#include <my_global.h>
/*
the following #define adds server-only members to enum_mysql_show_type,
@@ -27,7 +26,7 @@
SHOW_LONG_STATUS, SHOW_DOUBLE_STATUS, \
SHOW_HAVE, SHOW_MY_BOOL, SHOW_HA_ROWS, SHOW_SYS, \
SHOW_LONG_NOFLUSH, SHOW_LONGLONG_STATUS, SHOW_LEX_STRING
-#include <mysql/plugin.h>
+#include <my_global.h>
#undef SHOW_always_last
#include "m_string.h" /* LEX_STRING */