diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-11-07 16:48:50 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-12-12 20:27:36 +0100 |
commit | a418c9920047d5222a0d065343347312127b780f (patch) | |
tree | e50f4f15396655ec81dc04b461ec5ffb52ce2410 /sql/field.h | |
parent | 4136968ca0910c1e4fc0191a659fbdc113fbf709 (diff) | |
download | mariadb-git-a418c9920047d5222a0d065343347312127b780f.tar.gz |
gcol mysql-test suite from 5.7
update tests and results, fix bugs
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/field.h b/sql/field.h index 4292f3ffc8a..8644037d13a 100644 --- a/sql/field.h +++ b/sql/field.h @@ -615,7 +615,7 @@ public: name.length= 0; }; ~Virtual_column_info() {} - enum_field_types get_real_type() + enum_field_types get_real_type() const { return field_type; } @@ -624,7 +624,7 @@ public: /* Calling this function can only be done once. */ field_type= fld_type; } - bool is_stored() + bool is_stored() const { return stored_in_db; } @@ -632,7 +632,7 @@ public: { stored_in_db= stored; } - bool is_in_partitioning_expr() + bool is_in_partitioning_expr() const { return in_partitioning_expr; } @@ -640,7 +640,7 @@ public: { in_partitioning_expr= TRUE; } - bool is_equal(Virtual_column_info* vcol) + bool is_equal(const Virtual_column_info* vcol) const { return field_type == vcol->get_real_type() && stored_in_db == vcol->is_stored() |