Commit 1df1b0fc authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2322], fix remove struct st_table_share and replace with TABLE_SHARE

git-svn-id: file:///svn/mysql/tokudb-engine/src@17141 c7de825b-a66e-492c-adef-691d508d4ae1
parent ddedf2e6
...@@ -88,7 +88,7 @@ inline u_int32_t get_len_of_offsets(KEY_AND_COL_INFO* kc_info, TABLE_SHARE* tabl ...@@ -88,7 +88,7 @@ inline u_int32_t get_len_of_offsets(KEY_AND_COL_INFO* kc_info, TABLE_SHARE* tabl
} }
static int allocate_key_and_col_info ( struct st_table_share *table_share, KEY_AND_COL_INFO* kc_info) { static int allocate_key_and_col_info ( TABLE_SHARE* table_share, KEY_AND_COL_INFO* kc_info) {
int error; int error;
// //
// initialize all of the bitmaps // initialize all of the bitmaps
...@@ -135,7 +135,7 @@ exit: ...@@ -135,7 +135,7 @@ exit:
pass to each tokudb handler. Do you have to have one of these? Well, you have pass to each tokudb handler. Do you have to have one of these? Well, you have
pieces that are used for locking, and they are needed to function. pieces that are used for locking, and they are needed to function.
*/ */
static TOKUDB_SHARE *get_share(const char *table_name, struct st_table_share *table_share) { static TOKUDB_SHARE *get_share(const char *table_name, TABLE_SHARE* table_share) {
TOKUDB_SHARE *share = NULL; TOKUDB_SHARE *share = NULL;
int error = 0; int error = 0;
uint length; uint length;
...@@ -1319,7 +1319,7 @@ exit: ...@@ -1319,7 +1319,7 @@ exit:
return error; return error;
} }
int initialize_key_and_col_info(struct st_table_share *table_share, TABLE* table, KEY_AND_COL_INFO* kc_info, uint hidden_primary_key, uint primary_key) { int initialize_key_and_col_info(TABLE_SHARE* table_share, TABLE* table, KEY_AND_COL_INFO* kc_info, uint hidden_primary_key, uint primary_key) {
int error; int error;
u_int32_t curr_blob_field_index = 0; u_int32_t curr_blob_field_index = 0;
u_int32_t max_var_bytes = 0; u_int32_t max_var_bytes = 0;
......
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