~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Merged in innodb plugin 1.0.2 

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
Created November 07, 2007 Vasil Dimov
16
16
*******************************************************/
17
17
 
 
18
#include <my_global.h>  /* for my_bool */
 
19
#include <mysql/plugin.h>  /* for MYSQL_THD */
 
20
 
18
21
#ifdef __cplusplus
19
22
extern "C" {
20
23
#endif /* __cplusplus */
32
35
#ifdef __cplusplus
33
36
}
34
37
#endif /* __cplusplus */
 
38
 
 
39
/* http://bugs.mysql.com/40360 */
 
40
/* http://lists.mysql.com/commits/57450 */
 
41
/**
 
42
  See if the binary log is engaged for a thread, i.e., open and
 
43
  LOG_BIN is set.
 
44
 
 
45
  @return @c true if the binlog is active, @c false otherwise.
 
46
*/
 
47
my_bool ib_bin_log_is_engaged(const MYSQL_THD thd);