mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-20042 Implement EXTRA2_FIELD_DATA_TYPE_INFO in FRM
This commit is contained in:
@@ -8365,6 +8365,20 @@ const Name & Type_handler_timestamp_common::default_value() const
|
||||
return def;
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user