~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to storage/ndb/include/kernel/signaldata/DihContinueB.hpp

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
 
3
 
 
4
   This program is free software; you can redistribute it and/or modify
 
5
   it under the terms of the GNU General Public License as published by
 
6
   the Free Software Foundation; version 2 of the License.
 
7
 
 
8
   This program is distributed in the hope that it will be useful,
 
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
   GNU General Public License for more details.
 
12
 
 
13
   You should have received a copy of the GNU General Public License
 
14
   along with this program; if not, write to the Free Software
 
15
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
 
16
*/
 
17
 
 
18
#ifndef DIH_CONTINUEB_H
 
19
#define DIH_CONTINUEB_H
 
20
 
 
21
#include "SignalData.hpp"
 
22
 
 
23
class DihContinueB {
 
24
  /**
 
25
   * Sender(s)/Reciver(s)
 
26
   */
 
27
  friend class Dbdih;
 
28
  friend bool printCONTINUEB_DBDIH(FILE * output, const Uint32 * theData,
 
29
                                   Uint32 len, Uint16);
 
30
private:
 
31
  enum Type {
 
32
    ZPACK_TABLE_INTO_PAGES  =  1,
 
33
    ZPACK_FRAG_INTO_PAGES   =  2,
 
34
    ZREAD_PAGES_INTO_TABLE  =  3,
 
35
    ZREAD_PAGES_INTO_FRAG   =  4,
 
36
    //ZREAD_TAB_DESCRIPTION   =  5,
 
37
    ZCOPY_TABLE             =  6,
 
38
    ZCOPY_TABLE_NODE        =  7,
 
39
    ZSTART_FRAGMENT         =  8,
 
40
    ZCOMPLETE_RESTART       =  9,
 
41
    ZREAD_TABLE_FROM_PAGES  = 10,
 
42
    ZSR_PHASE2_READ_TABLE   = 11,
 
43
    ZCHECK_TC_COUNTER       = 12,
 
44
    ZCALCULATE_KEEP_GCI     = 13,
 
45
    ZSTORE_NEW_LCP_ID       = 14,
 
46
    ZTABLE_UPDATE           = 15,
 
47
    ZCHECK_LCP_COMPLETED    = 16,
 
48
    ZINIT_LCP               = 17,
 
49
    ZADD_TABLE_MASTER_PAGES = 19,
 
50
    ZDIH_ADD_TABLE_MASTER   = 20,
 
51
    ZADD_TABLE_SLAVE_PAGES  = 21,
 
52
    ZDIH_ADD_TABLE_SLAVE    = 22,
 
53
    ZSTART_GCP              = 23,
 
54
    ZCOPY_GCI               = 24,
 
55
    ZEMPTY_VERIFY_QUEUE     = 25,
 
56
    ZCHECK_GCP_STOP         = 26,
 
57
    ZREMOVE_NODE_FROM_TABLE      = 27,
 
58
    ZCOPY_NODE                   = 28,
 
59
    ZTO_START_COPY_FRAG          = 31,
 
60
    ZINITIALISE_RECORDS          = 33,    
 
61
    ZINVALIDATE_NODE_LCP         = 34,
 
62
    ZSTART_PERMREQ_AGAIN         = 35,
 
63
    SwitchReplica                = 36,
 
64
    ZSEND_START_TO               = 37,
 
65
    ZSEND_ADD_FRAG               = 38,
 
66
    ZSEND_UPDATE_TO              = 40,
 
67
 
 
68
    WAIT_DROP_TAB_WRITING_TO_FILE = 42,
 
69
    //CHECK_WAIT_DROP_TAB_FAILED_LQH = 43,
 
70
    ZTO_START_FRAGMENTS = 44
 
71
    ,ZCOPY_NODE_WAIT_CREATE_FRAG = 45
 
72
    ,ZWAIT_OLD_SCAN = 46
 
73
    ,ZLCP_TRY_LOCK = 47
 
74
    ,ZDELAY_RELEASE_FRAGMENT_INFO_MUTEX = 48
 
75
    ,ZTO_START_LOGGING = 49
 
76
    ,ZGET_TABINFO = 50
 
77
    ,ZGET_TABINFO_SEND = 51
 
78
  };
 
79
};
 
80
 
 
81
#endif