Fix build failure.

This commit is contained in:
Alexander Nozdrin 2009-11-10 12:32:29 +03:00
parent ecd6047172
commit ad6883c4f2
2 changed files with 8 additions and 1 deletions

View file

@ -2161,7 +2161,7 @@ bool partition_info::init_column_part()
return FALSE;
}
bool partition_info::add_column_list_value(Item *item)
bool partition_info::add_column_list_value(THD *thd, Item *item)
{
return FALSE;
}
@ -2169,4 +2169,9 @@ int partition_info::add_max_value()
{
return 0;
}
void partition_info::print_debug(const char *str, uint *value)
{
}
#endif /* WITH_PARTITION_STORAGE_ENGINE */

View file

@ -4955,6 +4955,7 @@ static void store_schema_partitions_record(THD *thd, TABLE *schema_table,
return;
}
#ifdef WITH_PARTITION_STORAGE_ENGINE
static int
get_partition_column_description(THD *thd,
partition_info *part_info,
@ -4998,6 +4999,7 @@ get_partition_column_description(THD *thd,
}
DBUG_RETURN(0);
}
#endif /* WITH_PARTITION_STORAGE_ENGINE */
static int get_schema_partitions_record(THD *thd, TABLE_LIST *tables,
TABLE *table, bool res,