summaryrefslogtreecommitdiff
path: root/myisam/mi_search.c
diff options
context:
space:
mode:
authorramil@mysql.com <>2005-10-13 12:48:30 +0500
committerramil@mysql.com <>2005-10-13 12:48:30 +0500
commit2ffbe01127e5720c134e6bb92bde3cc77b5f3ee9 (patch)
tree649b77f84ffdf6d82c694ace9752240e65c99e1b /myisam/mi_search.c
parent701a1378446d976cf7b95287de769bbd92dfeafc (diff)
parent58c64aea924555e1c9f01fcf370ef1dd3f8cdca3 (diff)
downloadmariadb-git-2ffbe01127e5720c134e6bb92bde3cc77b5f3ee9.tar.gz
Merge mysql.com:/usr/home/ram/work/mysql-4.0
into mysql.com:/usr/home/ram/work/mysql-4.1
Diffstat (limited to 'myisam/mi_search.c')
-rw-r--r--myisam/mi_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_search.c b/myisam/mi_search.c
index 71a623dc9c0..4ea2480889e 100644
--- a/myisam/mi_search.c
+++ b/myisam/mi_search.c
@@ -978,7 +978,7 @@ uint _mi_get_binary_pack_key(register MI_KEYDEF *keyinfo, uint nod_flag,
}
DBUG_PRINT("info",("key: %lx from: %lx length: %u",
(long) key, (long) from, length));
- memcpy_overlap((byte*) key, (byte*) from, (size_t) length);
+ memmove((byte*) key, (byte*) from, (size_t) length);
key+=length;
from+=length;
}