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 | 501c3e7a0e1770aa7b40a2b1c19b8e89388b834f (patch) | |
tree | a6e70143d0432d4fc50aa1dc16391366ccad9ac3 /include | |
parent | 063eeb7edb708b112ddfc809e1e829e5632a8da0 (diff) | |
download | mariadb-git-501c3e7a0e1770aa7b40a2b1c19b8e89388b834f.tar.gz |
Fixed wrong assert (Got failure in ctype_tis620)
Diffstat (limited to 'include')
-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)) |