summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
Diffstat (limited to 'myisam')
-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 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;
}