Commit 6df75c85 authored by unknown's avatar unknown

WL#3228 (NDB) : RBR using different table defs on slave/master

  
This patch removes a portion of the last patch to Field_blob::copy
after problems found during testing of tests using distinct operations.


sql/field.h:
  WL#3228 (NDB) : RBR using different table defs on slave/master
    
  This patch removes a portion of the last patch to Field_blob::copy
  after problems found during testing of tests using distinct operations.
  
  The code uses the old version of teh get_length() method.
parent 33943431
......@@ -1401,8 +1401,7 @@ public:
{
uchar *tmp;
get_ptr(&tmp);
uint32 len= get_length(0, table->s->db_low_byte_first);
if (value.copy((char*) tmp, len, charset()))
if (value.copy((char*) tmp, get_length(), charset()))
{
Field_blob::reset();
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment