mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
sql_class.cc, mysql_priv.h:
Added accessor to handler data. sql/mysql_priv.h: Added accessor to handler data. sql/sql_class.cc: Added accessor to handler data.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user