summaryrefslogtreecommitdiff
path: root/include/typelib.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-06-26 05:29:44 +0400
committerAlexander Barkov <bar@mariadb.com>2019-06-26 05:29:44 +0400
commit677133f1b3d45dcf72484a2cc9577ad09d8a78fd (patch)
tree07667f606d13950f1699b936c9f1ac6bdae03f5c /include/typelib.h
parent8d4c159b1bfc75fcddc50f740ec9a001aa6d2bc4 (diff)
downloadmariadb-git-677133f1b3d45dcf72484a2cc9577ad09d8a78fd.tar.gz
MDEV-19863 Add const to TYPELIB pointers
Diffstat (limited to 'include/typelib.h')
-rw-r--r--include/typelib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/typelib.h b/include/typelib.h
index b20724fe05e..23df737d307 100644
--- a/include/typelib.h
+++ b/include/typelib.h
@@ -43,7 +43,7 @@ extern int find_type_with_warning(const char *x, TYPELIB *typelib,
extern int find_type(const char *x, const TYPELIB *typelib, unsigned int flags);
extern void make_type(char *to,unsigned int nr,TYPELIB *typelib);
extern const char *get_type(TYPELIB *typelib,unsigned int nr);
-extern TYPELIB *copy_typelib(MEM_ROOT *root, TYPELIB *from);
+extern TYPELIB *copy_typelib(MEM_ROOT *root, const TYPELIB *from);
extern TYPELIB sql_protocol_typelib;