~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to sql/sql_profile.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef _SQL_PROFILE_H
17
17
#define _SQL_PROFILE_H
18
18
 
19
 
#if __STDC_VERSION__ < 199901L
20
 
#  if __GNUC__ >= 2
21
 
#    define __func__ __FUNCTION__
22
 
#  else
23
 
#    define __func__ _unknown_func_
24
 
extern const char * const _unknown_func_;
25
 
#  endif
26
 
#elif defined(_MSC_VER)
27
 
#  if _MSC_VER < 1300
28
 
#     define __func__ _unknown_func_
29
 
extern const char * const _unknown_func_;
30
 
#  else
31
 
#    define __func__ __FUNCTION__
32
 
#  endif
33
 
#elif defined(__BORLANDC__)
34
 
#  define __func__ __FUNC__
35
 
#else
36
 
#  define __func__ _unknown_func_
37
 
extern const char * const _unknown_func_;
38
 
#endif
39
 
 
40
19
extern ST_FIELD_INFO query_profile_statistics_info[];
41
20
int fill_query_profile_statistics_info(THD *thd, TABLE_LIST *tables, Item *cond);
42
21
int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table);