From 701007fe30e63882fefa8859a778c45f7832eec6 Mon Sep 17 00:00:00 2001
From: "mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se" <>
Date: Wed, 24 May 2006 15:01:03 -0400
Subject: [PATCH] review fix

---
 sql/partition_info.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 0635c80296f..0924a8adf6e 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -442,7 +442,7 @@ bool partition_info::check_engine_mix(handlerton **engine_array, uint no_parts)
       DBUG_RETURN(TRUE);
     }
   } while (++i < no_parts);
-  if (ha_legacy_type(engine_array[0]) == DB_TYPE_MRG_MYISAM)
+  if (engine_array[0] == &myisammrg_hton)
   {
     my_error(ER_PARTITION_MERGE_ERROR, MYF(0));
     DBUG_RETURN(TRUE);
-- 
2.30.9