summaryrefslogtreecommitdiffstats
path: root/sql/unireg.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sql/unireg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 1eec3585..fa657a26 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -217,7 +217,7 @@ LEX_CUSTRING build_frm_image(THD *thd, const LEX_CSTRING &table,
#define FRM_FORMINFO_SIZE 288
#define FRM_MAX_SIZE (1024*1024)
-static inline bool is_binary_frm_header(uchar *head)
+static inline bool is_binary_frm_header(const uchar *head)
{
return head[0] == 254
&& head[1] == 1