summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-25 13:56:50 +0300
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-25 13:56:50 +0300
commit3ba6a2a9fa3fc7eed89ec612eb4f4ed6645bcd7d (patch)
treed33ce0a47fbf5181f9c5ebfeddb7830a2e9f7223 /include
parent4c61db988714676e71175fbbf20173b9a96d06c2 (diff)
parent916b559b10d06574ac77ab549785726ba2878222 (diff)
downloadmariadb-git-3ba6a2a9fa3fc7eed89ec612eb4f4ed6645bcd7d.tar.gz
Manual merge of mysql-5.1-bugteam into mysql-trunk-merge.
Conflicts: mysql-test/collections/default.experimental
Diffstat (limited to 'include')
-rw-r--r--include/m_string.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/m_string.h b/include/m_string.h
index 3c4c6ea088a..fade3171da8 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -95,9 +95,7 @@ extern char NEAR _dig_vec_lower[];
/* Defined in strtod.c */
extern const double log_10[309];
-#ifdef BAD_STRING_COMPILER
-#define strmov(A,B) (memccpy(A,B,0,INT_MAX)-1)
-#else
+#ifndef strmov
#define strmov_overlapp(A,B) strmov(A,B)
#define strmake_overlapp(A,B,C) strmake(A,B,C)
#endif
@@ -155,12 +153,11 @@ extern size_t strinstr(const char *str,const char *search);
extern size_t r_strinstr(const char *str, size_t from, const char *search);
extern char *strkey(char *dst,char *head,char *tail,char *flags);
extern char *strmake(char *dst,const char *src,size_t length);
-#ifndef strmake_overlapp
-extern char *strmake_overlapp(char *dst,const char *src, size_t length);
-#endif
#ifndef strmov
extern char *strmov(char *dst,const char *src);
+#else
+extern char *strmov_overlapp(char *dst,const char *src);
#endif
extern char *strnmov(char *dst,const char *src,size_t n);
extern char *strsuff(const char *src,const char *suffix);