From c481eb3997555c0d2a01e80d3f4bfa28667a4b18 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 29 Apr 2005 10:59:34 +0200 Subject: [PATCH] BUG#5964 - 4.1 MERGE tables regression from 4.0 After merge fix. --- sql/ha_myisammrg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc index 20b5ad44629..f7c0abf9810 100644 --- a/sql/ha_myisammrg.cc +++ b/sql/ha_myisammrg.cc @@ -434,7 +434,7 @@ int ha_myisammrg::create(const char *name, register TABLE *form, as the MyISAM tables are from the same database as the MERGE table. */ if ((dirname_length(buff) == dirlgt) && ! memcmp(buff, name, dirlgt)) - table_name= tables->real_name; + table_name= tables->table_name; else if (! (table_name= thd->strmake(buff, length))) DBUG_RETURN(HA_ERR_OUT_OF_MEM);