diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-10-30 07:31:39 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-10-30 07:31:39 +0200 |
commit | 0ccfdc8eff6371941d07c61c273784cbc350c87e (patch) | |
tree | eec9ea2d5b702035e8817072b67bb4f991dd699c /storage/innobase/btr/btr0pcur.cc | |
parent | 7440e61a64489a7eba9d0384366ab7aad99efe30 (diff) | |
download | mariadb-git-0ccfdc8eff6371941d07c61c273784cbc350c87e.tar.gz |
Remove InnoDB wrappers of <string.h> functions
ut_strcmp(), ut_strcpy(), ut_strlen(), ut_memcpy(), ut_memcmp(),
ut_memmove(): Remove. Invoke the standard library functions directly.
Diffstat (limited to 'storage/innobase/btr/btr0pcur.cc')
-rw-r--r-- | storage/innobase/btr/btr0pcur.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/btr/btr0pcur.cc b/storage/innobase/btr/btr0pcur.cc index 943ae996f20..4bc932b18a7 100644 --- a/storage/innobase/btr/btr0pcur.cc +++ b/storage/innobase/btr/btr0pcur.cc @@ -216,15 +216,15 @@ btr_pcur_copy_stored_position( copied */ { ut_free(pcur_receive->old_rec_buf); - ut_memcpy(pcur_receive, pcur_donate, sizeof(btr_pcur_t)); + memcpy(pcur_receive, pcur_donate, sizeof(btr_pcur_t)); if (pcur_donate->old_rec_buf) { pcur_receive->old_rec_buf = (byte*) ut_malloc_nokey(pcur_donate->buf_size); - ut_memcpy(pcur_receive->old_rec_buf, pcur_donate->old_rec_buf, - pcur_donate->buf_size); + memcpy(pcur_receive->old_rec_buf, pcur_donate->old_rec_buf, + pcur_donate->buf_size); pcur_receive->old_rec = pcur_receive->old_rec_buf + (pcur_donate->old_rec - pcur_donate->old_rec_buf); } |