summaryrefslogtreecommitdiff
path: root/sql/sql_string.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
commitd47710c8dccd295428fa7547720f4a5d7311c413 (patch)
tree571e8400d55e9a1115d6fc07d5b8b67e5a5afc2f /sql/sql_string.h
parent124e830125a2964a60d01cf9df68ddc9caa70a0d (diff)
downloadmariadb-git-d47710c8dccd295428fa7547720f4a5d7311c413.tar.gz
WL#5016: Fix header file include guards
Adding header include file guards to files that are missing such.
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index d62908e5d66..7b10aafbff1 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -1,3 +1,6 @@
+#ifndef SQL_STRING_INCLUDED
+#define SQL_STRING_INCLUDED
+
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
@@ -389,3 +392,5 @@ static inline bool check_if_only_end_space(CHARSET_INFO *cs, char *str,
{
return str+ cs->cset->scan(cs, str, end, MY_SEQ_SPACES) == end;
}
+
+#endif /* SQL_STRING_INCLUDED */