summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-11-10 12:32:29 +0300
committerAlexander Nozdrin <alik@sun.com>2009-11-10 12:32:29 +0300
commite81cd9dfe1fdfe1fe463d524b921c5f45199524b (patch)
tree5adfe380f7ae04eb362386f9ef81a465dbfcd62e /sql
parent55b4a2ab8777dbd811f6a0274600bf9052a8cf9b (diff)
downloadmariadb-git-e81cd9dfe1fdfe1fe463d524b921c5f45199524b.tar.gz
Fix build failure.
Diffstat (limited to 'sql')
-rw-r--r--sql/partition_info.cc7
-rw-r--r--sql/sql_show.cc2
2 files changed, 8 insertions, 1 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index cbb4d2331c9..355a4ba6b68 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -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 */
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 038b70c661a..b9f5015f8f0 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -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,