diff options
Diffstat (limited to 'sql/sql_type.cc')
-rw-r--r-- | sql/sql_type.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/sql_type.cc b/sql/sql_type.cc index b912197103f..0268e36ca5b 100644 --- a/sql/sql_type.cc +++ b/sql/sql_type.cc @@ -8367,6 +8367,20 @@ const Name & Type_handler_timestamp_common::default_value() const /***************************************************************************/ +bool Type_handler::Column_definition_data_type_info_image(Binary_string *to, + const Column_definition &def) + const +{ + // Have *some* columns write type info (let's use string fields as an example) + DBUG_EXECUTE_IF("frm_data_type_info_emulate", + if (cmp_type() == STRING_RESULT) + return to->append(name().lex_cstring());); + return false; +} + + +/***************************************************************************/ + LEX_CSTRING Charset::collation_specific_name() const { /* |