Skip to content

Commit 63aaebd

Browse files
committed
wl#9819 Version 2. Patch #2: New definition of ProcessInfoRep signal.
1 parent d1ae317 commit 63aaebd

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

storage/ndb/include/kernel/signaldata/ProcessInfoRep.hpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2016, 2017 Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -27,18 +27,19 @@ class ProcessInfoRep {
2727
friend bool printPROCESSINFO_REP(FILE *, const Uint32 *, Uint32, Uint16);
2828

2929
public:
30-
STATIC_CONST( SignalLength = 16);
31-
STATIC_CONST( ConnNameSectionNum = 0);
32-
STATIC_CONST( HostAddrSectionNum = 1);
30+
STATIC_CONST( SignalLength = 20);
31+
STATIC_CONST( PathSectionNum = 0);
32+
STATIC_CONST( HostSectionNum = 1);
3333

3434
private:
3535
Uint8 process_name[48];
36+
Uint8 uri_scheme[16];
3637
Uint32 node_id;
3738
Uint32 process_id;
3839
Uint32 angel_process_id;
3940
Uint32 application_port;
4041
};
4142

42-
// connection_name and host_address, if set, are sent as separate sections
43+
// path and host sections of service URI are sent as separate sections
4344

4445
#endif

storage/ndb/src/common/debugger/signaldata/ProcessInfoRep.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (C) 2016, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (C) 2016, 2017 Oracle and/or its affiliates. All rights reserved.
33
All rights reserved. Use is subject to license terms.
44
55
This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,5 @@ printPROCESSINFO_REP(FILE * out, const Uint32 * data, Uint32 len, Uint16 bno) {
2626
fprintf(out, " process_id: %d angel_process_id: %d application_port: %d",
2727
sig->process_id, sig->angel_process_id, sig->application_port);
2828

29-
// TODO: connection name
30-
3129
return true;
3230
}

0 commit comments

Comments
 (0)