~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

Cleaned up int/date related store functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1077
1077
    if (xs->xa_state==XA_PREPARED)
1078
1078
    {
1079
1079
      protocol->prepare_for_resend();
1080
 
      protocol->store_int64_t((int64_t)xs->xid.formatID, false);
1081
 
      protocol->store_int64_t((int64_t)xs->xid.gtrid_length, false);
1082
 
      protocol->store_int64_t((int64_t)xs->xid.bqual_length, false);
 
1080
      protocol->store((int64_t)xs->xid.formatID);
 
1081
      protocol->store((int64_t)xs->xid.gtrid_length);
 
1082
      protocol->store((int64_t)xs->xid.bqual_length);
1083
1083
      protocol->store(xs->xid.data, xs->xid.gtrid_length+xs->xid.bqual_length,
1084
1084
                      &my_charset_bin);
1085
1085
      if (protocol->write())