summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorMats Kindahl <mats@sun.com>2009-09-23 23:32:31 +0200
committerMats Kindahl <mats@sun.com>2009-09-23 23:32:31 +0200
commit4ad8ef060260885f6cb64c50f187a33826dee664 (patch)
tree571e8400d55e9a1115d6fc07d5b8b67e5a5afc2f /sql/field.h
parent8f35f7c907992c77b1bda584956cf8acf97e88d5 (diff)
downloadmariadb-git-4ad8ef060260885f6cb64c50f187a33826dee664.tar.gz
WL#5016: Fix header file include guards
Adding header include file guards to files that are missing such.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index a9299256f88..36569428ee0 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1,3 +1,6 @@
+#ifndef FIELD_INCLUDED
+#define FIELD_INCLUDED
+
/* Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
@@ -2180,3 +2183,5 @@ int set_field_to_null_with_conversions(Field *field, bool no_conversions);
#define f_no_default(x) (x & FIELDFLAG_NO_DEFAULT)
#define f_bit_as_char(x) ((x) & FIELDFLAG_TREAT_BIT_AS_CHAR)
#define f_is_hex_escape(x) ((x) & FIELDFLAG_HEX_ESCAPE)
+
+#endif /* FIELD_INCLUDED */