summaryrefslogtreecommitdiff
path: root/storage/connect/plugutil.c
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-05-19 19:53:38 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-05-19 19:53:38 +0200
commitcc38c511918471cfbe151052e7f1ef9fd14da524 (patch)
tree8314e888716ed5f4b08f1a0db742ed9334b7ca34 /storage/connect/plugutil.c
parentc035bde34c3a5a63451b51031d508a425ce9a3ae (diff)
parent54f32928315f7f1863dd43589d1a67cbf05b254a (diff)
downloadmariadb-git-cc38c511918471cfbe151052e7f1ef9fd14da524.tar.gz
- Commit merged and resolve
added: storage/connect/inihandl.h storage/connect/rcmsg.h modified: storage/connect/CMakeLists.txt storage/connect/connect.h storage/connect/ha_connect.cc storage/connect/inihandl.c storage/connect/maputil.h storage/connect/odbconn.cpp storage/connect/osutil.c storage/connect/osutil.h storage/connect/plgdbutl.cpp storage/connect/plugutil.c storage/connect/rcmsg.c storage/connect/tabmysql.cpp storage/connect/tabodbc.cpp storage/connect/tabpivot.cpp storage/connect/tabsys.cpp storage/connect/tabutil.cpp storage/connect/tabutil.h storage/connect/user_connect.cc storage/connect/value.cpp
Diffstat (limited to 'storage/connect/plugutil.c')
-rw-r--r--storage/connect/plugutil.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/plugutil.c b/storage/connect/plugutil.c
index 426401a0c47..67947e3042b 100644
--- a/storage/connect/plugutil.c
+++ b/storage/connect/plugutil.c
@@ -107,7 +107,7 @@ ACTIVITY defActivity = { /* Describes activity and language */
#endif // XMSG || NEWMSG
#if defined(UNIX) || defined(UNIV_LINUX)
-int GetRcString(int id, char *buf, int bufsize);
+#include "rcmsg.h"
#endif // UNIX
/**************************************************************************/
@@ -494,9 +494,10 @@ void *MakePtr(void *memp, OFFSET offset)
/***********************************************************************/
/* This routine makes an offset from a pointer new format. */
/***********************************************************************/
+#if 0
OFFSET MakeOff(void *memp, void *ptr)
{
return ((!ptr) ? 0 : (OFFSET)((char *)ptr - (char *)memp));
} /* end of MakeOff */
-
+#endif
/*--------------------- End of PLUGUTIL program -----------------------*/