Commit c481eb39 authored by unknown's avatar unknown
Browse files

BUG#5964 - 4.1 MERGE tables regression from 4.0

After merge fix.

parent f9128d95
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);