~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/common_includes.h

  • Committer: Brian Aker
  • Date: 2008-10-08 02:28:58 UTC
  • mfrom: (489.1.13 codestyle)
  • Revision ID: brian@tangent.org-20081008022858-ea8esagkxmn0dupc
Merge of Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
class user_var_entry;
256
256
class Security_context;
257
257
 
258
 
#define thd_proc_info(thd, msg)  set_thd_proc_info(thd, msg, __func__, __FILE__, __LINE__)
259
 
 
260
258
extern pthread_key(THD*, THR_THD);
261
259
inline THD *_current_thd(void)
262
260
{
264
262
}
265
263
#define current_thd _current_thd()
266
264
 
267
 
/** 
268
 
  The meat of thd_proc_info(THD*, char*), a macro that packs the last
269
 
  three calling-info parameters. 
270
 
*/
271
 
extern "C"
272
 
const char *set_thd_proc_info(THD *thd, const char *info, 
273
 
                              const char *calling_func, 
274
 
                              const char *calling_file, 
275
 
                              const unsigned int calling_line);
 
265
extern "C" void set_thd_proc_info(THD *thd, const char *info);
 
266
extern "C" const char *get_thd_proc_info(THD *thd);
276
267
 
277
268
/*
278
269
  External variables