diff options
author | ramil@mysql.com <> | 2005-10-12 18:50:25 +0500 |
---|---|---|
committer | ramil@mysql.com <> | 2005-10-12 18:50:25 +0500 |
commit | 58c64aea924555e1c9f01fcf370ef1dd3f8cdca3 (patch) | |
tree | 56b760f4a61f7e099eb52b50576b6e0fec2da8a6 /myisam | |
parent | 16b0bc39aaa25be731cd6a0f92caab4a1cbeb40e (diff) | |
download | mariadb-git-58c64aea924555e1c9f01fcf370ef1dd3f8cdca3.tar.gz |
memcpy_overlap() removed, as
1. it's wrong to use memcpy() for overlapped areas;
2. we use it only once.
During merge to 4.1 will remove a memcpy_overlap() call
from strings/ctype-tis620.c as well in order to fix
bug #10836: ctype_tis620 test failure with ICC-compiled binaries on IA64.
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c index c0be1a427df..3d16a70d70b 100644 --- a/myisam/mi_search.c +++ b/myisam/mi_search.c @@ -1306,7 +1306,7 @@ uint _mi_get_binary_pack_key(register MI_KEYDEF *keyinfo, uint nod_flag, } DBUG_PRINT("info",("key: %p from: %p length: %u", key, from, length)); - memcpy_overlap((byte*) key, (byte*) from, (size_t) length); + memmove((byte*) key, (byte*) from, (size_t) length); key+=length; from+=length; } |