1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge branch '10.3' into 10.4

This commit is contained in:
Oleksandr Byelkin
2020-08-03 14:44:06 +02:00
134 changed files with 2307 additions and 521 deletions

View File

@ -2232,6 +2232,13 @@ int show_create_table(THD *thd, TABLE_LIST *table_list, String *packet,
append_identifier(thd, packet, &field->field_name);
packet->append(' ');
const Type_handler *th= field->type_handler();
const Schema *implied_schema= Schema::find_implied(thd);
if (th != implied_schema->map_data_type(thd, th))
{
packet->append(th->schema()->name(), system_charset_info);
packet->append(STRING_WITH_LEN("."), system_charset_info);
}
type.set(tmp, sizeof(tmp), system_charset_info);
field->sql_type(type);
packet->append(type.ptr(), type.length(), system_charset_info);