~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/log_event.h

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
2198
2198
class Intvar_log_event: public Log_event
2199
2199
{
2200
2200
public:
2201
 
  ulonglong val;
 
2201
  uint64_t val;
2202
2202
  uchar type;
2203
2203
 
2204
2204
#ifndef MYSQL_CLIENT
2205
 
  Intvar_log_event(THD* thd_arg,uchar type_arg, ulonglong val_arg)
 
2205
  Intvar_log_event(THD* thd_arg,uchar type_arg, uint64_t val_arg)
2206
2206
    :Log_event(thd_arg,0,0),val(val_arg),type(type_arg)
2207
2207
  {}
2208
2208
#ifdef HAVE_REPLICATION
2273
2273
class Rand_log_event: public Log_event
2274
2274
{
2275
2275
 public:
2276
 
  ulonglong seed1;
2277
 
  ulonglong seed2;
 
2276
  uint64_t seed1;
 
2277
  uint64_t seed2;
2278
2278
 
2279
2279
#ifndef MYSQL_CLIENT
2280
 
  Rand_log_event(THD* thd_arg, ulonglong seed1_arg, ulonglong seed2_arg)
 
2280
  Rand_log_event(THD* thd_arg, uint64_t seed1_arg, uint64_t seed2_arg)
2281
2281
    :Log_event(thd_arg,0,0),seed1(seed1_arg),seed2(seed2_arg)
2282
2282
  {}
2283
2283
#ifdef HAVE_REPLICATION
2291
2291
                 const Format_description_log_event *description_event);
2292
2292
  ~Rand_log_event() {}
2293
2293
  Log_event_type get_type_code() { return RAND_EVENT;}
2294
 
  int get_data_size() { return 16; /* sizeof(ulonglong) * 2*/ }
 
2294
  int get_data_size() { return 16; /* sizeof(uint64_t) * 2*/ }
2295
2295
#ifndef MYSQL_CLIENT
2296
2296
  bool write(IO_CACHE* file);
2297
2297
#endif
2314
2314
  @section Xid_log_event_binary_format Binary Format  
2315
2315
*/
2316
2316
#ifdef MYSQL_CLIENT
2317
 
typedef ulonglong my_xid; // this line is the same as in handler.h
 
2317
typedef uint64_t my_xid; // this line is the same as in handler.h
2318
2318
#endif
2319
2319
 
2320
2320
class Xid_log_event: public Log_event
2497
2497
    DUP_NAME= 2 // if constructor should dup the string argument
2498
2498
  };
2499
2499
  const char* new_log_ident;
2500
 
  ulonglong pos;
 
2500
  uint64_t pos;
2501
2501
  uint ident_len;
2502
2502
  uint flags;
2503
2503
#ifndef MYSQL_CLIENT
2504
2504
  Rotate_log_event(const char* new_log_ident_arg,
2505
2505
                   uint ident_len_arg,
2506
 
                   ulonglong pos_arg, uint flags);
 
2506
                   uint64_t pos_arg, uint flags);
2507
2507
#ifdef HAVE_REPLICATION
2508
2508
  void pack_info(Protocol* protocol);
2509
2509
#endif /* HAVE_REPLICATION */