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.
This commit is contained in:
unknown 2007-08-02 21:18:41 -04:00
parent 339434317e
commit 6df75c85fd

View File

@ -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;