I'm implementing dynamic plugin for solidDB storage engine and I would
need to access following THD variables from my storage engine:
extern "C" const char *thd_query(MYSQL_THD thd)
This is needed for foreign keys (at the moment you must parse
create table or alter table yourself).
extern "C" ulong thd_query_id(MYSQL_THD thd)
extern "C" int thd_drop_mode(MYSQL_THD thd)
this is needed also for foreign keys and to support drop table ...
cascade. Could someone from MySQL add support for these assessors to