From 6df75c85fdc68afc24fa8dea876062dc174b887e Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 Aug 2007 21:18:41 -0400 Subject: [PATCH] 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. --- sql/field.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/field.h b/sql/field.h index 5f9dab08654..bcdacd43082 100644 --- a/sql/field.h +++ b/sql/field.h @@ -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;