diff options
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index d71c0fc83a3..fbebfd27203 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -3212,7 +3212,7 @@ int handler::create_lookup_handler() handler *tmp; if (lookup_handler != this) return 0; - if (!(tmp= clone(table->s->normalized_path.str, table->in_use->mem_root))) + if (!(tmp= clone(table->s->normalized_path.str, &table->mem_root))) return 1; lookup_handler= tmp; return lookup_handler->ha_external_lock(table->in_use, F_RDLCK); |