diff options
author | unknown <svoj@mysql.com/april.(none)> | 2007-03-13 16:58:52 +0400 |
---|---|---|
committer | unknown <svoj@mysql.com/april.(none)> | 2007-03-13 16:58:52 +0400 |
commit | d496ab15e4718787460f2846500f593beb816a19 (patch) | |
tree | 5a7048cd2cb42b4bde583b971b8e92e33fd69e2a /sql/field.h | |
parent | 2f774b479b91cb279c42ce7f191a2ce4993f1890 (diff) | |
parent | fc6ff0d9d8d5b91a2b31d9495599c5f4b29b5de1 (diff) | |
download | mariadb-git-d496ab15e4718787460f2846500f593beb816a19.tar.gz |
Merge mysql.com:/home/svoj/devel/bk/mysql-5.0
into mysql.com:/home/svoj/devel/mysql/BUG26881/mysql-5.0-engines
myisam/rt_index.c:
Auto merged
sql/field.h:
Auto merged
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 524380800f3..0f30f5332ff 100644 --- a/sql/field.h +++ b/sql/field.h @@ -225,7 +225,7 @@ public: ptr=ptr_arg; null_ptr=null_ptr_arg; null_bit=null_bit_arg; } inline void move_field(char *ptr_arg) { ptr=ptr_arg; } - inline void move_field(my_ptrdiff_t ptr_diff) + virtual inline void move_field(my_ptrdiff_t ptr_diff) { ptr=ADD_TO_PTR(ptr,ptr_diff,char*); if (null_ptr) @@ -1407,6 +1407,11 @@ public: Field *new_key_field(MEM_ROOT *root, struct st_table *new_table, char *new_ptr, uchar *new_null_ptr, uint new_null_bit); + inline void move_field(my_ptrdiff_t ptr_diff) + { + Field::move_field(ptr_diff); + bit_ptr= ADD_TO_PTR(bit_ptr, ptr_diff, uchar*); + } void set_bit_ptr(uchar *bit_ptr_arg, uchar bit_ofs_arg) { bit_ptr= bit_ptr_arg; |