~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to server/binlog/drizzlebinlog.cc

  • Committer: Monty Taylor
  • Date: 2008-07-13 23:12:21 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080713231221-3ofc5acxf7qyx5f3
Moved drizzlebinlog to binlog subdir of server. Eventually lets put 
all the binlog related stuff in here perhaps? Like log_event, etc. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
#define MYSQL_CLIENT
32
32
#undef MYSQL_SERVER
33
 
#include "client_priv.h"
34
33
#include <my_time.h>
 
34
#include <my_global.h>
 
35
#include <my_sys.h>
 
36
#include <m_string.h>
 
37
#include <drizzle.h>
 
38
#include <errmsg.h>
 
39
#include <my_getopt.h>
35
40
/* That one is necessary for defines of OPTION_NO_FOREIGN_KEY_CHECKS etc */
36
41
#include "mysql_priv.h" 
37
42
#include "log_event.h"
38
43
#include "sql_common.h"
39
44
 
 
45
 
 
46
enum options_drizzlebinlog
 
47
{
 
48
  OPT_CHARSETS_DIR=256, OPT_BASE64_OUTPUT_MODE,
 
49
  OPT_DEBUG_CHECK, OPT_DEBUG_INFO, OPT_MYSQL_PROTOCOL,
 
50
  OPT_SERVER_ID, OPT_SET_CHARSET, OPT_START_DATETIME,
 
51
  OPT_START_POSITION, OPT_STOP_DATETIME, OPT_STOP_POSITION,
 
52
  OPT_OPEN_FILES_LIMIT
 
53
};
 
54
 
40
55
#define BIN_LOG_HEADER_SIZE     4
41
56
#define PROBE_HEADER_LEN        (EVENT_LEN_OFFSET+4)
42
57