diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-02-28 10:00:31 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-02-28 10:00:31 +0100 |
commit | 41c760b121494de2c6d58f8c1a600d599ad4e0a5 (patch) | |
tree | a80a0f7316ffa843437ad24fc0ba7fbd4ee09e14 /sql/field.h | |
parent | 57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6 (diff) | |
parent | 8d0238a6d8d641939730bdcd1ac4928b2c3c413d (diff) | |
download | mariadb-git-41c760b121494de2c6d58f8c1a600d599ad4e0a5.tar.gz |
merge
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sql/field.h b/sql/field.h index b1c27bd6018..cbd9175f26c 100644 --- a/sql/field.h +++ b/sql/field.h @@ -1,7 +1,7 @@ #ifndef FIELD_INCLUDED #define FIELD_INCLUDED -/* Copyright (c) 2000, 2012, Oracle and/or its affiliates. - Copyright (c) 2008, 2011, Monty Program Ab +/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. + Copyright (c) 2008, 2014, SkySQL Ab. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -2402,18 +2402,6 @@ public: { store_length(ptr, packlength, number); } - - /** - Return the packed length plus the length of the data. - - This is used to determine the size of the data plus the - packed length portion in the row data. - - @returns The length in the row plus the size of the data. - */ - uint32 get_packed_size(const uchar *ptr_arg) - {return packlength + get_length(ptr_arg, packlength);} - inline uint32 get_length(uint row_offset= 0) { return get_length(ptr+row_offset, this->packlength); } uint32 get_length(const uchar *ptr, uint packlength); |