~ubuntu-branches/ubuntu/wily/mysql-5.6/wily

« back to all changes in this revision

Viewing changes to sql/rpl_gtid.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-04-16 20:07:10 UTC
  • mto: (1.3.9 vivid-proposed)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20150416200710-pcrsa022082zj46k
Tags: upstream-5.6.24
ImportĀ upstreamĀ versionĀ 5.6.24

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 
1
/* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
   This program is free software; you can redistribute it and/or
4
4
   modify it under the terms of the GNU General Public License as
2424
2424
  { type= GTID_GROUP; gtid.sidno= sidno; gtid.gno= gno; }
2425
2425
  /// Set the type to GTID_GROUP and SID, GNO to the given Gtid.
2426
2426
  void set(const Gtid &gtid_param) { set(gtid_param.sidno, gtid_param.gno); }
 
2427
  /// Set the type to ANONYMOUS_GROUP and SID, GNO to 0, 0.
 
2428
  void set_anonymous()
 
2429
  { type= ANONYMOUS_GROUP; gtid.sidno= 0; gtid.gno= 0; }
2427
2430
  /// Set the type to AUTOMATIC_GROUP.
2428
2431
  void set_automatic()
2429
2432
  {