2
Copyright (C) 2003, 2005-2008 MySQL AB
3
All rights reserved. Use is subject to license terms.
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
#include <signaldata/AlterTab.hpp>
22
printALTER_TAB_REQ(FILE* output, const Uint32* theData, Uint32 len, Uint16)
24
const AlterTabReq* sig = (const AlterTabReq*)theData;
25
fprintf(output, " senderRef: 0x%x", sig->senderRef);
26
fprintf(output, " senderData: %u", sig->senderData);
27
fprintf(output, " requestType: %u", sig->requestType);
28
fprintf(output, "\n");
29
fprintf(output, " tableId: %u", sig->tableId);
30
fprintf(output, " tableVersion: 0x%x", sig->tableVersion);
31
fprintf(output, " newTableVersion: 0x%x", sig->newTableVersion);
32
fprintf(output, " gci: %u", sig->gci);
33
fprintf(output, " changeMask: 0x%x", sig->changeMask);
34
fprintf(output, "\n");
35
fprintf(output, " connectPtr: %u", sig->connectPtr);
36
fprintf(output, " noOfNewAttr: %u", sig->noOfNewAttr);
37
fprintf(output, " newNoOfCharsets: %u", sig->newNoOfCharsets);
38
fprintf(output, " newNoOfKeyAttrs: %u", sig->newNoOfKeyAttrs);
39
fprintf(output, "\n");
44
printALTER_TAB_CONF(FILE* output, const Uint32* theData, Uint32 len, Uint16)
46
const AlterTabConf* sig = (const AlterTabConf*)theData;
47
fprintf(output, " senderRef: 0x%x", sig->senderRef);
48
fprintf(output, " senderData: %u", sig->senderData);
49
fprintf(output, " connectPtr: %u", sig->connectPtr);
50
fprintf(output, "\n");
55
printALTER_TAB_REF(FILE* output, const Uint32* theData, Uint32 len, Uint16)
57
const AlterTabRef* sig = (const AlterTabRef*)theData;
58
fprintf(output, " senderRef: 0x%x", sig->senderRef);
59
fprintf(output, " senderData: %u", sig->senderData);
60
fprintf(output, "\n");
61
fprintf(output, " errorCode: %u", sig->errorCode);
62
fprintf(output, " errorLine: %u", sig-> errorLine);
63
fprintf(output, " errorKey: %u", sig->errorKey);
64
fprintf(output, " errorStatus: %u", sig->errorStatus);
65
fprintf(output, "\n");