summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-04-19 16:09:44 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-04-19 16:09:44 +0400
commitfa3b2dcb838a05f5c07b78c2fc518018c473a47f (patch)
treeb055b8d1c4471f9f8daad623d14e1af7b793f04c /sql/item.cc
parent199f2ce47eb508aa62e9b2fcf80c6536cb14f4f5 (diff)
parentfe0828b3b8193e086abe740572c9b0cb2b7da671 (diff)
downloadmariadb-git-fa3b2dcb838a05f5c07b78c2fc518018c473a47f.tar.gz
Manual merge of mysql-5.1-bugteam to
mysql-trunk-merge. Conflicts: Text conflict in sql/sql_priv.h
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc17
1 files changed, 16 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 6080feec9d8..9c712e30bca 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -17,7 +17,9 @@
#ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
#endif
-#include "mysql_priv.h"
+#include "my_global.h" /* NO_EMBEDDED_ACCESS_CHECKS */
+#include "sql_priv.h"
+#include "unireg.h" // REQUIRED: for other includes
#include <mysql.h>
#include <m_ctype.h>
#include "my_dir.h"
@@ -25,6 +27,19 @@
#include "sp_head.h"
#include "sql_trigger.h"
#include "sql_select.h"
+#include "sql_show.h" // append_identifier
+#include "sql_view.h" // VIEW_ANY_SQL
+#include "sql_time.h" // str_to_datetime_with_warn,
+ // make_truncated_value_warning
+#include "sql_acl.h" // get_column_grant,
+ // SELECT_ACL, UPDATE_ACL,
+ // INSERT_ACL,
+ // check_grant_column
+#include "sql_base.h" // enum_resolution_type,
+ // REPORT_EXCEPT_NOT_FOUND,
+ // find_item_in_list,
+ // RESOLVED_AGAINST_ALIAS, ...
+#include "log_event.h" // append_query_string
const String my_null_string("NULL", 4, default_charset_info);