~michaeleguo/ubuntu/trusty/percona-xtradb-cluster-5.5/arm64fix

« back to all changes in this revision

Viewing changes to storage/ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-10 14:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20140210144423-f2134l2gxuvq2m6l
Tags: upstream-5.5.34-25.9+dfsg
ImportĀ upstreamĀ versionĀ 5.5.34-25.9+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2003 MySQL AB
 
2
 
 
3
   This program is free software; you can redistribute it and/or modify
 
4
   it under the terms of the GNU General Public License as published by
 
5
   the Free Software Foundation; version 2 of the License.
 
6
 
 
7
   This program is distributed in the hope that it will be useful,
 
8
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
   GNU General Public License for more details.
 
11
 
 
12
   You should have received a copy of the GNU General Public License
 
13
   along with this program; if not, write to the Free Software
 
14
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA */
 
15
 
 
16
 
 
17
#include <DebuggerNames.hpp>
 
18
#include <signaldata/SignalDroppedRep.hpp>
 
19
 
 
20
bool
 
21
printSIGNAL_DROPPED_REP(FILE * output, 
 
22
                        const Uint32 * theData, 
 
23
                        Uint32 len, 
 
24
                        Uint16 recBlockNo){
 
25
  SignalDroppedRep * sig = (SignalDroppedRep*)theData;
 
26
  
 
27
  fprintf(output, " originalGsn: %s(%d) Length: %d SectionCount: %d\n", 
 
28
          getSignalName(sig->originalGsn),
 
29
          sig->originalGsn,
 
30
          sig->originalLength,
 
31
          sig->originalSectionCount);
 
32
  return false;
 
33
}