Commit 41b94672 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #686

put comments above public function declaring what their behavior, parameters
and possible return values

git-svn-id: file:///svn/mysql/tokudb-engine/src@3500 c7de825b-a66e-492c-adef-691d508d4ae1
parent f50ca6be
This diff is collapsed.
...@@ -69,21 +69,38 @@ public: ...@@ -69,21 +69,38 @@ public:
return "BTREE"; return "BTREE";
} }
const char **bas_ext() const; const char **bas_ext() const;
//
// Returns a bit mask of capabilities of storage engine. Capabilities
// defined in sql/handler.h
//
ulonglong table_flags(void) const { ulonglong table_flags(void) const {
return int_table_flags; return int_table_flags;
} }
ulong index_flags(uint inx, uint part, bool all_parts) const; ulong index_flags(uint inx, uint part, bool all_parts) const;
//
// Returns limit on the number of keys imposed by tokudb.
//
uint max_supported_keys() const { uint max_supported_keys() const {
return MAX_KEY - 1; return MAX_KEY - 1;
} }
uint extra_rec_buf_length() const { uint extra_rec_buf_length() const {
return TOKUDB_HIDDEN_PRIMARY_KEY_LENGTH; return TOKUDB_HIDDEN_PRIMARY_KEY_LENGTH;
} }
ha_rows estimate_rows_upper_bound(); ha_rows estimate_rows_upper_bound();
//
// Returns the limit on the key length imposed by tokudb.
//
uint max_supported_key_length() const { uint max_supported_key_length() const {
return UINT_MAX32; return UINT_MAX32;
} }
//
// Returns limit on key part length imposed by tokudb.
//
uint max_supported_key_part_length() const { uint max_supported_key_part_length() const {
return UINT_MAX32; return UINT_MAX32;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment