summaryrefslogtreecommitdiff
path: root/mysys/typelib.c
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-27 20:27:58 +0400
committerunknown <kostja@bodhi.local>2007-03-27 20:27:58 +0400
commit66fcdd5403ba20a9f9f760c545fe49a297188f96 (patch)
tree79502174ae5e635dfaa0b061d041bc77080973ac /mysys/typelib.c
parentd9b8e466bf8258f94ed69a7771d9098d3185fa11 (diff)
downloadmariadb-git-66fcdd5403ba20a9f9f760c545fe49a297188f96.tar.gz
Change find_type family to accept const TYPELIB*.
include/mysql_h.ic: Change find_type family to accept const TYPELIB*. This sort of change can not break the ABI.
Diffstat (limited to 'mysys/typelib.c')
-rw-r--r--mysys/typelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/typelib.c b/mysys/typelib.c
index 4fab6f20493..97b03b72b24 100644
--- a/mysys/typelib.c
+++ b/mysys/typelib.c
@@ -42,7 +42,7 @@
>0 Offset+1 in typelib for matched string
*/
-int find_type(my_string x, TYPELIB *typelib, uint full_name)
+int find_type(const char *x, const TYPELIB *typelib, uint full_name)
{
int find,pos,findpos;
reg1 my_string i;