summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2006-09-30 18:31:13 -0700
committerunknown <brian@zim.(none)>2006-09-30 18:31:13 -0700
commite5b9d3442c3b690b1e05b702a7b382dba9f29900 (patch)
tree15d38e4ee1d3d583b3ac0f1d863fed3c925d3d95 /sql/ha_partition.cc
parent3e7d326576f63d9af5061dfba977c33ee95d3f16 (diff)
downloadmariadb-git-e5b9d3442c3b690b1e05b702a7b382dba9f29900.tar.gz
This patch updates to remove most global hton needs. Cleans up wrong message in partition.
mysql-test/r/partition.result: Updated results sql/ha_ndbcluster.cc: Updated hton sql/ha_partition.cc: Removed need for global internal hton. sql/handler.cc: Removed need for global mrg sql/mysql_priv.h: Updated needs for global variables. sql/mysqld.cc: Removed needs around hton sql/partition_info.cc: Removed bug.... aka what happens if tables are neither? sql/share/errmsg.txt: Made error message more generic. sql/sql_cache.cc: Removed specific hton reference
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r--sql/ha_partition.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index d2b05df5ffc..0da0094d92e 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -75,11 +75,11 @@ static handler *partition_create_handler(handlerton *hton,
static uint partition_flags();
static uint alter_table_flags(uint flags);
-handlerton *partition_hton;
static int partition_initialize(void *p)
{
+ handlerton *partition_hton;
partition_hton= (handlerton *)p;
partition_hton->state= SHOW_OPTION_YES;