mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Manual merge
mysql-test/r/partition.result: Auto merged sql/handler.h: Auto merged sql/item.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
@ -763,7 +763,10 @@ int THD::send_explain_fields(select_result *result)
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
if (lex->describe & DESCRIBE_PARTITIONS)
|
||||
{
|
||||
field_list.push_back(item= new Item_empty_string("partitions", 10, cs));
|
||||
/* Maximum length of string that make_used_partitions_str() can produce */
|
||||
item= new Item_empty_string("partitions", MAX_PARTITIONS * (1 + FN_LEN),
|
||||
cs);
|
||||
field_list.push_back(item);
|
||||
item->maybe_null= 1;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user