1 /* 2 Copyright (c) 2003, 2021, Oracle and/or its affiliates. 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, version 2.0, 6 as published by the Free Software Foundation. 7 8 This program is also distributed with certain software (including 9 but not limited to OpenSSL) that is licensed under separate terms, 10 as designated in a particular file or component or in included license 11 documentation. The authors of MySQL hereby grant you an additional 12 permission to link the program and your derivative works with the 13 separately licensed software that they have included with MySQL. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License, version 2.0, for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 */ 24 25 26 27 #include <GlobalSignalNumbers.h> 28 #include <signaldata/SignalData.hpp> 29 #include <signaldata/SignalDataPrint.hpp> 30 31 /** 32 * This is the register 33 */ 34 35 const NameFunctionPair 36 SignalDataPrintFunctions[] = { 37 { GSN_TCKEYREQ, printTCKEYREQ }, 38 { GSN_TCINDXREQ, printTCKEYREQ }, 39 { GSN_TCKEYCONF, printTCKEYCONF }, 40 { GSN_TCKEYREF, printTCKEYREF }, 41 { GSN_LQHKEYREQ, printLQHKEYREQ }, 42 { GSN_LQHKEYCONF, printLQHKEYCONF }, 43 { GSN_LQHKEYREF, printLQHKEYREF }, 44 { GSN_TUPKEYREQ, printTUPKEYREQ }, 45 { GSN_TUPKEYCONF, printTUPKEYCONF }, 46 { GSN_TUPKEYREF, printTUPKEYREF }, 47 { GSN_TUP_COMMITREQ, printTUPCOMMITREQ }, 48 { GSN_CONTINUEB, printCONTINUEB }, 49 { GSN_FSOPENREQ, printFSOPENREQ }, 50 { GSN_FSCLOSEREQ, printFSCLOSEREQ }, 51 { GSN_FSREADREQ, printFSREADWRITEREQ }, 52 { GSN_FSWRITEREQ, printFSREADWRITEREQ }, 53 { GSN_FSCLOSEREF, printFSREF }, 54 { GSN_FSOPENREF, printFSREF }, 55 { GSN_FSWRITEREF, printFSREF }, 56 { GSN_FSREADREF, printFSREF }, 57 { GSN_FSSYNCREF, printFSREF }, 58 { GSN_FSCLOSECONF, printFSCONF }, 59 { GSN_FSOPENCONF, printFSCONF }, 60 { GSN_FSWRITECONF, printFSCONF }, 61 { GSN_FSREADCONF, printFSCONF }, 62 { GSN_FSSYNCCONF, printFSCONF }, 63 { GSN_CLOSE_COMREQ, printCLOSECOMREQCONF }, 64 { GSN_CLOSE_COMCONF, printCLOSECOMREQCONF }, 65 { GSN_PACKED_SIGNAL, printPACKED_SIGNAL }, 66 { GSN_PREP_FAILREQ, printPREPFAILREQREF }, 67 { GSN_PREP_FAILREF, printPREPFAILREQREF }, 68 { GSN_ALTER_TABLE_REQ, printALTER_TABLE_REQ }, 69 { GSN_ALTER_TABLE_CONF, printALTER_TABLE_CONF }, 70 { GSN_ALTER_TABLE_REF, printALTER_TABLE_REF }, 71 { GSN_ALTER_TAB_REQ, printALTER_TAB_REQ }, 72 { GSN_ALTER_TAB_CONF, printALTER_TAB_CONF }, 73 { GSN_ALTER_TAB_REF, printALTER_TAB_REF }, 74 { GSN_CREATE_TRIG_REQ, printCREATE_TRIG_REQ }, 75 { GSN_CREATE_TRIG_CONF, printCREATE_TRIG_CONF }, 76 { GSN_CREATE_TRIG_REF, printCREATE_TRIG_REF }, 77 { GSN_DROP_TRIG_REQ, printDROP_TRIG_REQ }, 78 { GSN_DROP_TRIG_CONF, printDROP_TRIG_CONF }, 79 { GSN_DROP_TRIG_REF, printDROP_TRIG_REF }, 80 { GSN_FIRE_TRIG_ORD, printFIRE_TRIG_ORD }, 81 { GSN_TRIG_ATTRINFO, printTRIG_ATTRINFO }, 82 { GSN_CREATE_INDX_REQ, printCREATE_INDX_REQ }, 83 { GSN_CREATE_INDX_CONF, printCREATE_INDX_CONF }, 84 { GSN_CREATE_INDX_REF, printCREATE_INDX_REF }, 85 { GSN_DROP_INDX_REQ, printDROP_INDX_REQ }, 86 { GSN_DROP_INDX_CONF, printDROP_INDX_CONF }, 87 { GSN_DROP_INDX_REF, printDROP_INDX_REF }, 88 { GSN_ALTER_INDX_REQ, printALTER_INDX_REQ }, 89 { GSN_ALTER_INDX_CONF, printALTER_INDX_CONF }, 90 { GSN_ALTER_INDX_REF, printALTER_INDX_REF }, 91 { GSN_TCINDXCONF, printTCKEYCONF }, 92 { GSN_TCINDXREF, printTCINDXREF }, 93 { GSN_INDXKEYINFO, printINDXKEYINFO }, 94 { GSN_INDXATTRINFO, printINDXATTRINFO }, 95 { GSN_FSAPPENDREQ, printFSAPPENDREQ }, 96 { GSN_BACKUP_REQ, printBACKUP_REQ }, 97 { GSN_BACKUP_DATA, printBACKUP_DATA }, 98 { GSN_BACKUP_REF, printBACKUP_REF }, 99 { GSN_BACKUP_CONF, printBACKUP_CONF }, 100 { GSN_ABORT_BACKUP_ORD, printABORT_BACKUP_ORD }, 101 { GSN_BACKUP_ABORT_REP, printBACKUP_ABORT_REP }, 102 { GSN_BACKUP_COMPLETE_REP, printBACKUP_COMPLETE_REP }, 103 { GSN_BACKUP_NF_COMPLETE_REP, printBACKUP_NF_COMPLETE_REP }, 104 { GSN_DEFINE_BACKUP_REQ, printDEFINE_BACKUP_REQ }, 105 { GSN_DEFINE_BACKUP_REF, printDEFINE_BACKUP_REF }, 106 { GSN_DEFINE_BACKUP_CONF, printDEFINE_BACKUP_CONF }, 107 { GSN_START_BACKUP_REQ, printSTART_BACKUP_REQ }, 108 { GSN_START_BACKUP_REF, printSTART_BACKUP_REF }, 109 { GSN_START_BACKUP_CONF, printSTART_BACKUP_CONF }, 110 { GSN_BACKUP_FRAGMENT_REQ, printBACKUP_FRAGMENT_REQ }, 111 { GSN_BACKUP_FRAGMENT_REF, printBACKUP_FRAGMENT_REF }, 112 { GSN_BACKUP_FRAGMENT_CONF, printBACKUP_FRAGMENT_CONF }, 113 { GSN_STOP_BACKUP_REQ, printSTOP_BACKUP_REQ }, 114 { GSN_STOP_BACKUP_REF, printSTOP_BACKUP_REF }, 115 { GSN_STOP_BACKUP_CONF, printSTOP_BACKUP_CONF }, 116 { GSN_BACKUP_STATUS_REQ, printBACKUP_STATUS_REQ }, 117 //{ GSN_BACKUP_STATUS_REF, printBACKUP_STATUS_REF }, 118 { GSN_BACKUP_STATUS_CONF, printBACKUP_STATUS_CONF }, 119 { GSN_UTIL_SEQUENCE_REQ, printUTIL_SEQUENCE_REQ }, 120 { GSN_UTIL_SEQUENCE_REF, printUTIL_SEQUENCE_REF }, 121 { GSN_UTIL_SEQUENCE_CONF, printUTIL_SEQUENCE_CONF }, 122 { GSN_UTIL_PREPARE_REQ, printUTIL_PREPARE_REQ }, 123 { GSN_UTIL_PREPARE_REF, printUTIL_PREPARE_REF }, 124 { GSN_UTIL_PREPARE_CONF, printUTIL_PREPARE_CONF }, 125 { GSN_UTIL_EXECUTE_REQ, printUTIL_EXECUTE_REQ }, 126 { GSN_UTIL_EXECUTE_REF, printUTIL_EXECUTE_REF }, 127 { GSN_UTIL_EXECUTE_CONF, printUTIL_EXECUTE_CONF }, 128 { GSN_SCAN_TABREQ, printSCANTABREQ }, 129 { GSN_SCAN_TABCONF, printSCANTABCONF }, 130 { GSN_SCAN_TABREF, printSCANTABREF }, 131 { GSN_SCAN_NEXTREQ, printSCANNEXTREQ }, 132 { GSN_LQHFRAGREQ, printLQH_FRAG_REQ }, 133 { GSN_LQHFRAGREF, printLQH_FRAG_REF }, 134 { GSN_LQHFRAGCONF, printLQH_FRAG_CONF }, 135 { GSN_PREP_DROP_TAB_REQ, printPREP_DROP_TAB_REQ }, 136 { GSN_PREP_DROP_TAB_REF, printPREP_DROP_TAB_REF }, 137 { GSN_PREP_DROP_TAB_CONF, printPREP_DROP_TAB_CONF }, 138 { GSN_DROP_TAB_REQ, printDROP_TAB_REQ }, 139 { GSN_DROP_TAB_REF, printDROP_TAB_REF }, 140 { GSN_DROP_TAB_CONF, printDROP_TAB_CONF }, 141 { GSN_LCP_FRAG_ORD, printLCP_FRAG_ORD }, 142 { GSN_LCP_FRAG_REP, printLCP_FRAG_REP }, 143 { GSN_LCP_COMPLETE_REP, printLCP_COMPLETE_REP }, 144 { GSN_START_LCP_REQ, printSTART_LCP_REQ }, 145 { GSN_START_LCP_CONF, printSTART_LCP_CONF }, 146 { GSN_MASTER_LCPREQ, printMASTER_LCP_REQ }, 147 { GSN_MASTER_LCPREF, printMASTER_LCP_REF }, 148 { GSN_MASTER_LCPCONF, printMASTER_LCP_CONF }, 149 { GSN_COPY_GCIREQ, printCOPY_GCI_REQ }, 150 { GSN_SYSTEM_ERROR, printSYSTEM_ERROR }, 151 { GSN_START_RECREQ, printSTART_REC_REQ }, 152 { GSN_START_RECCONF, printSTART_REC_CONF }, 153 { GSN_START_FRAGREQ, printSTART_FRAG_REQ }, 154 { GSN_NF_COMPLETEREP, printNF_COMPLETE_REP }, 155 { GSN_SIGNAL_DROPPED_REP, printSIGNAL_DROPPED_REP }, 156 { GSN_FAIL_REP, printFAIL_REP }, 157 { GSN_DISCONNECT_REP, printDISCONNECT_REP }, 158 159 { GSN_SUB_CREATE_REQ, printSUB_CREATE_REQ }, 160 { GSN_SUB_CREATE_REF, printSUB_CREATE_REF }, 161 { GSN_SUB_CREATE_CONF, printSUB_CREATE_CONF }, 162 { GSN_SUB_REMOVE_REQ, printSUB_REMOVE_REQ }, 163 { GSN_SUB_REMOVE_REF, printSUB_REMOVE_REF }, 164 { GSN_SUB_REMOVE_CONF, printSUB_REMOVE_CONF }, 165 { GSN_SUB_START_REQ, printSUB_START_REQ }, 166 { GSN_SUB_START_REF, printSUB_START_REF }, 167 { GSN_SUB_START_CONF, printSUB_START_CONF }, 168 { GSN_SUB_STOP_REQ, printSUB_STOP_REQ }, 169 { GSN_SUB_STOP_REF, printSUB_STOP_REF }, 170 { GSN_SUB_STOP_CONF, printSUB_STOP_CONF }, 171 { GSN_SUB_SYNC_REQ, printSUB_SYNC_REQ }, 172 { GSN_SUB_SYNC_REF, printSUB_SYNC_REF }, 173 { GSN_SUB_SYNC_CONF, printSUB_SYNC_CONF }, 174 { GSN_SUB_TABLE_DATA, printSUB_TABLE_DATA }, 175 { GSN_SUB_SYNC_CONTINUE_REQ, printSUB_SYNC_CONTINUE_REQ }, 176 { GSN_SUB_SYNC_CONTINUE_REF, printSUB_SYNC_CONTINUE_REF }, 177 { GSN_SUB_SYNC_CONTINUE_CONF, printSUB_SYNC_CONTINUE_CONF }, 178 { GSN_SUB_GCP_COMPLETE_REP, printSUB_GCP_COMPLETE_REP } 179 180 ,{ GSN_CREATE_FRAGMENTATION_REQ, printCREATE_FRAGMENTATION_REQ } 181 ,{ GSN_CREATE_FRAGMENTATION_REF, printCREATE_FRAGMENTATION_REF } 182 ,{ GSN_CREATE_FRAGMENTATION_CONF, printCREATE_FRAGMENTATION_CONF } 183 184 ,{ GSN_UTIL_CREATE_LOCK_REQ, printUTIL_CREATE_LOCK_REQ } 185 ,{ GSN_UTIL_CREATE_LOCK_REF, printUTIL_CREATE_LOCK_REF } 186 ,{ GSN_UTIL_CREATE_LOCK_CONF, printUTIL_CREATE_LOCK_CONF } 187 ,{ GSN_UTIL_DESTROY_LOCK_REQ, printUTIL_DESTROY_LOCK_REQ } 188 ,{ GSN_UTIL_DESTROY_LOCK_REF, printUTIL_DESTROY_LOCK_REF } 189 ,{ GSN_UTIL_DESTROY_LOCK_CONF, printUTIL_DESTROY_LOCK_CONF } 190 ,{ GSN_UTIL_LOCK_REQ, printUTIL_LOCK_REQ } 191 ,{ GSN_UTIL_LOCK_REF, printUTIL_LOCK_REF } 192 ,{ GSN_UTIL_LOCK_CONF, printUTIL_LOCK_CONF } 193 ,{ GSN_UTIL_UNLOCK_REQ, printUTIL_UNLOCK_REQ } 194 ,{ GSN_UTIL_UNLOCK_REF, printUTIL_UNLOCK_REF } 195 ,{ GSN_UTIL_UNLOCK_CONF, printUTIL_UNLOCK_CONF } 196 ,{ GSN_CNTR_START_REQ, printCNTR_START_REQ } 197 ,{ GSN_CNTR_START_REF, printCNTR_START_REF } 198 ,{ GSN_CNTR_START_CONF, printCNTR_START_CONF } 199 200 ,{ GSN_READ_NODESCONF, printREAD_NODES_CONF } 201 202 ,{ GSN_TUX_MAINT_REQ, printTUX_MAINT_REQ } 203 ,{ GSN_ACC_LOCKREQ, printACC_LOCKREQ } 204 ,{ GSN_LQH_TRANSCONF, printLQH_TRANSCONF } 205 ,{ GSN_SCAN_FRAGREQ, printSCAN_FRAGREQ } 206 ,{ GSN_SCAN_FRAGCONF, printSCAN_FRAGCONF } 207 ,{ GSN_START_FRAGREQ, printSTART_FRAG_REQ } 208 209 ,{ GSN_SCHEMA_TRANS_BEGIN_REQ, printSCHEMA_TRANS_BEGIN_REQ } 210 ,{ GSN_SCHEMA_TRANS_BEGIN_CONF, printSCHEMA_TRANS_BEGIN_CONF } 211 ,{ GSN_SCHEMA_TRANS_BEGIN_REF, printSCHEMA_TRANS_BEGIN_REF } 212 ,{ GSN_SCHEMA_TRANS_END_REQ, printSCHEMA_TRANS_END_REQ } 213 ,{ GSN_SCHEMA_TRANS_END_CONF, printSCHEMA_TRANS_END_CONF } 214 ,{ GSN_SCHEMA_TRANS_END_REF, printSCHEMA_TRANS_END_REF } 215 ,{ GSN_SCHEMA_TRANS_END_REP, printSCHEMA_TRANS_END_REP } 216 ,{ GSN_SCHEMA_TRANS_IMPL_REQ, printSCHEMA_TRANS_IMPL_REQ } 217 ,{ GSN_SCHEMA_TRANS_IMPL_CONF, printSCHEMA_TRANS_IMPL_CONF } 218 ,{ GSN_SCHEMA_TRANS_IMPL_REF, printSCHEMA_TRANS_IMPL_REF } 219 220 ,{ GSN_GET_TABINFOREQ, printGET_TABINFO_REQ } 221 ,{ GSN_GET_TABINFOREF, printGET_TABINFO_REF } 222 ,{ GSN_GET_TABINFO_CONF, printGET_TABINFO_CONF } 223 224 ,{ GSN_CREATE_TABLE_REQ, printCREATE_TABLE_REQ } 225 ,{ GSN_CREATE_TABLE_CONF, printCREATE_TABLE_CONF } 226 ,{ GSN_CREATE_TABLE_REF, printCREATE_TABLE_REF } 227 ,{ GSN_CREATE_TAB_REQ, printCREATE_TAB_REQ } 228 ,{ GSN_CREATE_TAB_REF, printCREATE_TAB_REF } 229 ,{ GSN_CREATE_TAB_CONF, printCREATE_TAB_CONF } 230 ,{ GSN_DROP_TABLE_REQ, printDROP_TABLE_REQ } 231 ,{ GSN_DROP_TABLE_REF, printDROP_TABLE_REF } 232 ,{ GSN_DROP_TABLE_CONF, printDROP_TABLE_CONF } 233 234 ,{ GSN_CREATE_TRIG_IMPL_REQ, printCREATE_TRIG_IMPL_REQ } 235 ,{ GSN_CREATE_TRIG_IMPL_CONF, printCREATE_TRIG_IMPL_CONF } 236 ,{ GSN_CREATE_TRIG_IMPL_REF, printCREATE_TRIG_IMPL_REF } 237 ,{ GSN_DROP_TRIG_IMPL_REQ, printDROP_TRIG_IMPL_REQ } 238 ,{ GSN_DROP_TRIG_IMPL_CONF, printDROP_TRIG_IMPL_CONF } 239 ,{ GSN_DROP_TRIG_IMPL_REF, printDROP_TRIG_IMPL_REF } 240 241 ,{ GSN_CREATE_INDX_IMPL_REQ, printCREATE_INDX_IMPL_REQ } 242 ,{ GSN_CREATE_INDX_IMPL_CONF, printCREATE_INDX_IMPL_CONF } 243 ,{ GSN_CREATE_INDX_IMPL_REF, printCREATE_INDX_IMPL_REF } 244 ,{ GSN_DROP_INDX_IMPL_REQ, printDROP_INDX_IMPL_REQ } 245 ,{ GSN_DROP_INDX_IMPL_CONF, printDROP_INDX_IMPL_CONF } 246 ,{ GSN_DROP_INDX_IMPL_REF, printDROP_INDX_IMPL_REF } 247 ,{ GSN_ALTER_INDX_IMPL_REQ, printALTER_INDX_IMPL_REQ } 248 ,{ GSN_ALTER_INDX_IMPL_CONF, printALTER_INDX_IMPL_CONF } 249 ,{ GSN_ALTER_INDX_IMPL_REF, printALTER_INDX_IMPL_REF } 250 251 ,{ GSN_BUILDINDXREQ, printBUILD_INDX_REQ } 252 ,{ GSN_BUILDINDXCONF, printBUILD_INDX_CONF } 253 ,{ GSN_BUILDINDXREF, printBUILD_INDX_REF } 254 ,{ GSN_BUILD_INDX_IMPL_REQ, printBUILD_INDX_IMPL_REQ } 255 ,{ GSN_BUILD_INDX_IMPL_CONF, printBUILD_INDX_IMPL_CONF } 256 ,{ GSN_BUILD_INDX_IMPL_REF, printBUILD_INDX_IMPL_REF } 257 258 ,{ GSN_API_VERSION_REQ, printAPI_VERSION_REQ } 259 ,{ GSN_API_VERSION_CONF, printAPI_VERSION_CONF } 260 261 ,{ GSN_LOCAL_ROUTE_ORD, printLOCAL_ROUTE_ORD } 262 263 ,{ GSN_DBINFO_SCANREQ, printDBINFO_SCAN } 264 ,{ GSN_DBINFO_SCANCONF, printDBINFO_SCAN } 265 ,{ GSN_DBINFO_SCANREF, printDBINFO_SCAN_REF } 266 267 ,{ GSN_NODE_PING_REQ, printNODE_PING_REQ } 268 ,{ GSN_NODE_PING_CONF, printNODE_PING_CONF } 269 270 ,{ GSN_INDEX_STAT_REQ, printINDEX_STAT_REQ } 271 ,{ GSN_INDEX_STAT_CONF, printINDEX_STAT_CONF } 272 ,{ GSN_INDEX_STAT_REF, printINDEX_STAT_REF } 273 ,{ GSN_INDEX_STAT_IMPL_REQ, printINDEX_STAT_IMPL_REQ } 274 ,{ GSN_INDEX_STAT_IMPL_CONF, printINDEX_STAT_IMPL_CONF } 275 ,{ GSN_INDEX_STAT_IMPL_REF, printINDEX_STAT_IMPL_REF } 276 ,{ GSN_INDEX_STAT_REP, printINDEX_STAT_REP } 277 278 ,{ GSN_GET_CONFIG_REQ, printGET_CONFIG_REQ } 279 ,{ GSN_GET_CONFIG_REF, printGET_CONFIG_REF } 280 ,{ GSN_GET_CONFIG_CONF, printGET_CONFIG_CONF } 281 282 ,{ GSN_ALLOC_NODEID_REQ, printALLOC_NODEID_REQ } 283 ,{ GSN_ALLOC_NODEID_CONF, printALLOC_NODEID_CONF } 284 ,{ GSN_ALLOC_NODEID_REF, printALLOC_NODEID_REF } 285 286 ,{ GSN_LCP_STATUS_REQ, printLCP_STATUS_REQ } 287 ,{ GSN_LCP_STATUS_CONF, printLCP_STATUS_CONF } 288 ,{ GSN_LCP_STATUS_REF, printLCP_STATUS_REF } 289 290 ,{ GSN_ISOLATE_ORD, printISOLATE_ORD } 291 292 ,{ GSN_CREATE_FK_REQ, printCREATE_FK_REQ } 293 ,{ GSN_CREATE_FK_REF, printCREATE_FK_REF } 294 ,{ GSN_CREATE_FK_CONF, printCREATE_FK_CONF } 295 ,{ GSN_DROP_FK_REQ, printDROP_FK_REQ } 296 ,{ GSN_DROP_FK_REF, printDROP_FK_REF } 297 ,{ GSN_DROP_FK_CONF, printDROP_FK_CONF } 298 299 ,{ 0, 0 } 300 }; 301 302