diff options
Diffstat (limited to 'storage/innobase/include/dict0mem.h')
-rw-r--r-- | storage/innobase/include/dict0mem.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/storage/innobase/include/dict0mem.h b/storage/innobase/include/dict0mem.h index f507007fee9..e72b24da9f5 100644 --- a/storage/innobase/include/dict0mem.h +++ b/storage/innobase/include/dict0mem.h @@ -1214,6 +1214,12 @@ struct dict_index_t { bool vers_history_row(const rec_t* rec, bool &history_row); + /** If a record of this index might not fit on a single B-tree page, + return true. + @param[in] strict issue error or warning + @return true if the index record could become too big */ + bool rec_potentially_too_big(bool strict) const; + /** Reconstruct the clustered index fields. */ inline void reconstruct_fields(); @@ -1776,6 +1782,9 @@ struct dict_table_t { ut_ad(fk_checks > 0); } + /** For overflow fields returns potential max length stored inline */ + inline size_t get_overflow_field_local_len() const; + private: /** Initialize instant->field_map. @tparam replace_dropped whether to point clustered index fields @@ -1979,7 +1988,7 @@ public: unsigned stat_initialized:1; /** Timestamp of last recalc of the stats. */ - ib_time_t stats_last_recalc; + time_t stats_last_recalc; /** The two bits below are set in the 'stat_persistent' member. They have the following meaning: |