diff options
author | unknown <monty@mysql.com> | 2004-03-29 18:59:51 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-03-29 18:59:51 +0300 |
commit | 68e2aa13a336d5d07723ae367b78b6a0c2501d27 (patch) | |
tree | a6e70143d0432d4fc50aa1dc16391366ccad9ac3 /include/m_string.h | |
parent | 6548e332f5fb883641fd454c175a2d8e5919f174 (diff) | |
download | mariadb-git-68e2aa13a336d5d07723ae367b78b6a0c2501d27.tar.gz |
Fixed wrong assert (Got failure in ctype_tis620)
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h index eac1552f8c1..934ad1c42b5 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -122,7 +122,7 @@ extern void bmove_allign(gptr dst,const gptr src,uint len); #ifdef HAVE_purify #include <assert.h> #define memcpy_overlap(A,B,C) \ -DBUG_ASSERT((A) == (B) || ((A)+(C)) <= (B) || ((B)+(C)) <= (A)); \ +DBUG_ASSERT((A) <= (B) || ((B)+(C)) <= (A)); \ bmove((byte*) key,(byte*) from,(size_t) length); #else #define memcpy_overlap(A,B,C) memcpy((A), (B), (C)) |