summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index e419f5d1240..562a49bfdae 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -988,8 +988,11 @@ struct TABLE_SHARE
uint actual_n_key_parts(THD *thd);
+ LEX_CUSTRING *frm_image; ///< only during CREATE TABLE (@sa ha_create_table)
bool init_from_binary_frm_image(THD *thd, bool write,
const uchar *frm_image, size_t frm_length);
+ bool write_frm_image(const uchar *frm_image, size_t frm_length);
+ bool read_frm_image(const uchar **frm_image, size_t *frm_length);
};