Unified · Split
| @@ -2576,7 +2576,8 @@ ST_FUNC void vstore(void) · 2575 unmodified lines | ||
| 2576 | 2576 | vpush_global_sym(&func_old_type, TOK_memcpy4); |
| 2577 | 2577 | else |
| 2578 | 2578 | #endif |
| 2579 | − vpush_global_sym(&func_old_type, TOK_memcpy); | |
| 2579 | + /* Use memmove, rather than memcpy, as dest and src may be same: */ | |
| 2580 | + vpush_global_sym(&func_old_type, TOK_memmove); | |
| 2580 | 2581 | |
| 2581 | 2582 | vswap(); |
| 2582 | 2583 | /* source */ |