~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-11-08 11:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20111108113113-3ulw01fvi4vn8m25
Tags: upstream-5.5.17
ImportĀ upstreamĀ versionĀ 5.5.17

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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  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
}