summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.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_strfunc.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_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc17
1 files changed, 16 insertions, 1 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 9e3f9189b01..3cf1b349946 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -29,7 +29,22 @@
#pragma implementation // gcc: Class implementation
#endif
-#include "mysql_priv.h"
+#include "my_global.h" // HAVE_*
+
+
+#include "sql_priv.h"
+/*
+ It is necessary to include set_var.h instead of item.h because there
+ are dependencies on include order for set_var.h and item.h. This
+ will be resolved later.
+*/
+#include "sql_class.h" // set_var.h: THD
+#include "set_var.h"
+#include "mysqld.h" // LOCK_uuid_generator
+#include "sql_acl.h" // SUPER_ACL
+#include "des_key_file.h" // st_des_keyschedule, st_des_keyblock
+#include "password.h" // my_make_scrambled_password,
+ // my_make_scrambled_password_323
#include <m_ctype.h>
#include "my_md5.h"
#include "sha1.h"