summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <svoj@april.(none)>2006-09-12 21:38:57 +0500
committerunknown <svoj@april.(none)>2006-09-12 21:38:57 +0500
commitfdf5e5833d262b6e5d21dd70f653557a54770f59 (patch)
tree71478d0d466ec9e4fafa63de45a77acefbe7eff4 /sql/handler.cc
parentf74f377693dcdc99ed43c350662c41c1e93bd2f4 (diff)
downloadmariadb-git-fdf5e5833d262b6e5d21dd70f653557a54770f59.tar.gz
After merge fix.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index b787fad2f96..a4d7c46fdc8 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1418,8 +1418,10 @@ int ha_delete_table(THD *thd, handlerton *table_type, const char *path,
****************************************************************************/
handler *handler::clone(MEM_ROOT *mem_root)
{
- handler *new_handler= get_new_handler(table, mem_root, table->s->db_type);
- if (new_handler && !new_handler->ha_open(table->s->path, table->db_stat,
+ handler *new_handler= get_new_handler(table->s, mem_root, table->s->db_type);
+ if (new_handler && !new_handler->ha_open(table,
+ table->s->normalized_path.str,
+ table->db_stat,
HA_OPEN_IGNORE_IF_LOCKED))
return new_handler;
return NULL;