summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2022-06-06 17:31:31 +0300
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2022-06-12 17:24:12 +0300
commitc625aeb9a75c1ced033143341ebb8a969c0959c1 (patch)
tree5746232ee20b2eb10181b659ab9b7203c9cfd565
parenteea0a7f7a5b35ec4ef2a78fd4da21b8f942ef3ac (diff)
downloadmariadb-git-c625aeb9a75c1ced033143341ebb8a969c0959c1.tar.gz
cleanup: Include what you use sql_alloc.h
-rw-r--r--sql/sql_alloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_alloc.h b/sql/sql_alloc.h
index f5d2d4e8b1a..541ab118a7e 100644
--- a/sql/sql_alloc.h
+++ b/sql/sql_alloc.h
@@ -16,7 +16,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#include <my_sys.h> /* alloc_root, MEM_ROOT, TRASH */
+#include <my_global.h> /* _current_thd, TRASH_FREE */
+#include <my_sys.h> /* alloc_root */
/* MariaDB standard class memory allocator */