diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-06-26 05:29:44 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-06-26 05:29:44 +0400 |
commit | 677133f1b3d45dcf72484a2cc9577ad09d8a78fd (patch) | |
tree | 07667f606d13950f1699b936c9f1ac6bdae03f5c /mysys | |
parent | 8d4c159b1bfc75fcddc50f740ec9a001aa6d2bc4 (diff) | |
download | mariadb-git-677133f1b3d45dcf72484a2cc9577ad09d8a78fd.tar.gz |
MDEV-19863 Add const to TYPELIB pointers
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/typelib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/typelib.c b/mysys/typelib.c index f0037921a87..715e7ad42ba 100644 --- a/mysys/typelib.c +++ b/mysys/typelib.c @@ -226,7 +226,7 @@ my_ulonglong find_typeset(char *x, TYPELIB *lib, int *err) NULL otherwise */ -TYPELIB *copy_typelib(MEM_ROOT *root, TYPELIB *from) +TYPELIB *copy_typelib(MEM_ROOT *root, const TYPELIB *from) { TYPELIB *to; uint i; |