Commit 2e6b5157 authored by vtkachenko@vadima.volia.com's avatar vtkachenko@vadima.volia.com

Merge vtkachenko@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  vadima.volia.com:/root/mysql-5.1-new1
parents 8be9f0c1 ddc46349
......@@ -489,6 +489,7 @@ inline THD *_current_thd(void)
my_bool thd_in_lock_tables(const THD *thd);
my_bool thd_tablespace_op(const THD *thd);
const char *thd_proc_info(THD *thd, const char *info);
void **thd_ha_data(const THD *thd, const struct handlerton *hton);
/*
External variables
......
......@@ -186,6 +186,11 @@ const char *thd_proc_info(THD *thd, const char *info)
return old_info;
}
void **thd_ha_data(const THD *thd, const struct handlerton *hton)
{
return (void **) thd->ha_data + hton->slot;
}
/*
Pass nominal parameters to Statement constructor only to ensure that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment