|
|||||||||||
|
Need new accessors to THD internals
From: Jan Lindström <jan.lindstrom(at)solidtech.com>
Date: Thu Aug 30 2007 - 07:29:35 EDT
I'm implementing dynamic plugin for solidDB storage engine and I would need to access following THD variables from my storage engine:
e.g with
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). 2) thd->query_id e.g. with
extern "C" ulong thd_query_id(MYSQL_THD thd)
3) thd->lex->drop_mode; e.g. with
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 plugin.h R: Jan -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals?unsub=lists@pantek.comReceived on Thu Aug 30 07:38:10 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:59:15 EDT |
||||||||||
|
|||||||||||