MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AlterIndxImpl.cpp
1 /* Copyright (C) 2007 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 #include <signaldata/AlterIndxImpl.hpp>
17 
18 bool
19 printALTER_INDX_IMPL_REQ(FILE* output, const Uint32* theData, Uint32 len, Uint16)
20 {
21  const AlterIndxImplReq* sig = (const AlterIndxImplReq*)theData;
22  fprintf(output, " senderRef: 0x%x", sig->senderRef);
23  fprintf(output, " senderData: %u", sig->senderData);
24  fprintf(output, " requestType: %u", sig->requestType);
25  fprintf(output, "\n");
26  fprintf(output, " tableId: %u", sig->tableId);
27  fprintf(output, " tableVersion: 0x%x", sig->tableVersion);
28  fprintf(output, "\n");
29  fprintf(output, " indexId: %u", sig->indexId);
30  fprintf(output, " indexVersion: 0x%x", sig->indexVersion);
31  fprintf(output, " indexType: %u", sig->indexType);
32  fprintf(output, "\n");
33  return true;
34 }
35 
36 bool
37 printALTER_INDX_IMPL_CONF(FILE* output, const Uint32* theData, Uint32 len, Uint16)
38 {
39  const AlterIndxImplConf* sig = (const AlterIndxImplConf*)theData;
40  fprintf(output, " senderRef: 0x%x", sig->senderRef);
41  fprintf(output, " senderData: %u", sig->senderData);
42  fprintf(output, "\n");
43  return true;
44 }
45 
46 bool
47 printALTER_INDX_IMPL_REF(FILE* output, const Uint32* theData, Uint32 len, Uint16)
48 {
49  const AlterIndxImplRef* sig = (const AlterIndxImplRef*)theData;
50  fprintf(output, " senderRef: 0x%x", sig->senderRef);
51  fprintf(output, " senderData: %u", sig->senderData);
52  fprintf(output, "\n");
53  fprintf(output, " errorCode: %u", sig->errorCode);
54  fprintf(output, " errorLine: %u", sig->errorLine);
55  fprintf(output, " errorNodeId: %u", sig->errorNodeId);
56  fprintf(output, " masterNodeId: %u", sig->masterNodeId);
57  fprintf(output, "\n");
58  return true;
59 }