mariadb/include/mysql_addons.h
vasil 8ab2a1a4fc branches/zip:
Include univ.i in mysql_addons.h because univ.i includes innodb_redefine.h
which is needed to rename the functions in this file with ibd_ prefix in
the dynamic InnoDB plugin. Aka the renaming magic, required for the dynamic
plugin to work.

Approved by:	Marko
2008-01-23 09:38:23 +00:00

36 lines
933 B
C

/******************************************************
This file contains functions that need to be added to
MySQL code but have not been added yet.
Whenever you add a function here submit a MySQL bug
report (feature request) with the implementation. Then
write the bug number in the comment before the
function in this file.
When MySQL commits the function it can be deleted from
here. In a perfect world this file exists but is empty.
(c) 2007 Innobase Oy
Created November 07, 2007 Vasil Dimov
*******************************************************/
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "univ.i"
/***********************************************************************
Retrieve THD::thread_id
http://bugs.mysql.com/30930 */
unsigned long
ib_thd_get_thread_id(
/*=================*/
/* out: THD::thread_id */
const void* thd); /* in: THD */
#ifdef __cplusplus
}
#endif /* __cplusplus */