Commit 192a8a16 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 fba854a0
......@@ -1401,8 +1401,7 @@ class Field_blob :public Field_longstr {
{
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