~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/mysql_addons.h

  • Committer: Elan Ruusamäe
  • Date: 2008-12-04 19:38:26 UTC
  • mfrom: (644 drizzle)
  • mto: (641.3.10 devel)
  • mto: This revision was merged to the branch mainline in revision 649.
  • Revision ID: glen@haarber.alkohol.ee-20081204193826-xxyhd45ag121pf3z
- pull from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/******************************************************
2
 
This file contains functions that need to be added to
3
 
MySQL code but have not been added yet.
4
 
 
5
 
Whenever you add a function here submit a MySQL bug
6
 
report (feature request) with the implementation. Then
7
 
write the bug number in the comment before the
8
 
function in this file.
9
 
 
10
 
When MySQL commits the function it can be deleted from
11
 
here. In a perfect world this file exists but is empty.
12
 
 
13
 
(c) 2007 Innobase Oy
14
 
 
15
 
Created November 07, 2007 Vasil Dimov
16
 
*******************************************************/
17
 
 
18
 
#ifdef __cplusplus
19
 
extern "C" {
20
 
#endif /* __cplusplus */
21
 
 
22
 
/***********************************************************************
23
 
Retrieve THD::thread_id
24
 
http://bugs.mysql.com/30930 */
25
 
 
26
 
unsigned long
27
 
ib_thd_get_thread_id(
28
 
/*=================*/
29
 
                                /* out: THD::thread_id */
30
 
        const void*     thd);   /* in: THD */
31
 
 
32
 
#ifdef __cplusplus
33
 
}
34
 
#endif /* __cplusplus */