summaryrefslogtreecommitdiff
path: root/sql/field_conv.cc
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:17:55 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-07-23 17:17:55 -0300
commite001970cc7ca527ea7e81647d2fe4b6b5afd4478 (patch)
treeb3bf82e28ac654006ee9f366503dd6a64386db14 /sql/field_conv.cc
parent507ca08ff6a731c811a82869f85ba5166e8a9df1 (diff)
downloadmariadb-git-e001970cc7ca527ea7e81647d2fe4b6b5afd4478.tar.gz
WL#5498: Remove dead and unused source code
Remove workarounds for ancient systems. mysys/default.c: Make cast more explicit to ensure a correct offset.
Diffstat (limited to 'sql/field_conv.cc')
-rw-r--r--sql/field_conv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field_conv.cc b/sql/field_conv.cc
index 299865e6114..ea6ff82e0aa 100644
--- a/sql/field_conv.cc
+++ b/sql/field_conv.cc
@@ -286,7 +286,7 @@ static void do_copy_blob(Copy_field *copy)
{
ulong length=((Field_blob*) copy->from_field)->get_length();
((Field_blob*) copy->to_field)->store_length(length);
- memcpy_fixed(copy->to_ptr,copy->from_ptr,sizeof(char*));
+ memcpy(copy->to_ptr, copy->from_ptr, sizeof(char*));
}
static void do_conv_blob(Copy_field *copy)