diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-12-29 18:44:13 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-12-29 18:44:13 +0400 |
commit | 1bb66ea88c4679d6bd3ad1472d75983e66f679ae (patch) | |
tree | 336941cafb8e68b21451f730eb00b87c8c00023b /sql/field.h | |
parent | 4282ac48c6ffb2af8cbe67c8f5a6a07e3c492b98 (diff) | |
parent | 4d3bc2615253031cac67e72b93ab65e27977f199 (diff) | |
download | mariadb-git-1bb66ea88c4679d6bd3ad1472d75983e66f679ae.tar.gz |
Merge remote-tracking branch 'origin/10.0' into 10.1
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/field.h b/sql/field.h index 81fae343cc1..ae088ab5e31 100644 --- a/sql/field.h +++ b/sql/field.h @@ -2959,11 +2959,6 @@ protected: */ String value; - void store_length(uchar *i_ptr, uint i_packlength, uint32 i_number); - inline void store_length(uint32 number) - { - store_length(ptr, packlength, number); - } public: Field_blob(uchar *ptr_arg, uchar *null_ptr_arg, uchar null_bit_arg, enum utype unireg_check_arg, const char *field_name_arg, @@ -3041,6 +3036,11 @@ public: int reset(void) { bzero(ptr, packlength+sizeof(uchar*)); return 0; } void reset_fields() { bzero((uchar*) &value,sizeof(value)); } uint32 get_field_buffer_size(void) { return value.alloced_length(); } + void store_length(uchar *i_ptr, uint i_packlength, uint32 i_number); + inline void store_length(uint32 number) + { + store_length(ptr, packlength, number); + } inline uint32 get_length(uint row_offset= 0) { return get_length(ptr+row_offset, this->packlength); } uint32 get_length(const uchar *ptr, uint packlength); |