Commit 4352ec45 authored by unknown's avatar unknown

WL#3915 : (NDB) master's cols > slave

Minor change to fix compile problems on 64-bit.

parent dcdc40b6
...@@ -1343,7 +1343,7 @@ class Field_blob :public Field_longstr { ...@@ -1343,7 +1343,7 @@ class Field_blob :public Field_longstr {
@retval The length in the row plus the size of the data. @retval The length in the row plus the size of the data.
*/ */
uint32 get_packed_size(const uchar *ptr) uint32 get_packed_size(const uchar *ptr)
{return packlength + get_length((uint)ptr);} {return packlength + get_length((const char *)ptr);}
inline uint32 get_length(uint row_offset=0) inline uint32 get_length(uint row_offset=0)
{ return get_length(ptr+row_offset); } { return get_length(ptr+row_offset); }
......
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