mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/psergey/mysql-5.1-ppruning-r5-push
This commit is contained in:
@ -785,7 +785,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