|
1 | 1 | /*
|
2 |
| - Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
| 2 | + Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
3 | 3 |
|
4 | 4 | This program is free software; you can redistribute it and/or modify
|
5 | 5 | it under the terms of the GNU General Public License as published by
|
@@ -39,6 +39,7 @@ static int opt_report_fd;
|
39 | 39 | static int opt_initial;
|
40 | 40 | static int opt_no_start;
|
41 | 41 | static unsigned opt_allocated_nodeid;
|
| 42 | +static int opt_angel_pid; |
42 | 43 | static int opt_retries;
|
43 | 44 | static int opt_delay;
|
44 | 45 |
|
@@ -93,6 +94,10 @@ static struct my_option my_long_options[] =
|
93 | 94 | "INTERNAL: nodeid allocated by angel process",
|
94 | 95 | (uchar**) &opt_allocated_nodeid, (uchar**) &opt_allocated_nodeid, 0,
|
95 | 96 | GET_UINT, REQUIRED_ARG, 0, 0, UINT_MAX, 0, 0, 0 },
|
| 97 | + { "angel-pid", NDB_OPT_NOSHORT, |
| 98 | + "INTERNAL: angel process id", |
| 99 | + (uchar**) &opt_angel_pid, (uchar **) &opt_angel_pid, 0, |
| 100 | + GET_UINT, REQUIRED_ARG, 0, 0, UINT_MAX, 0, 0, 0 }, |
96 | 101 | { "connect-retries", 'r',
|
97 | 102 | "Number of times mgmd is contacted at start. -1: eternal retries",
|
98 | 103 | (uchar**) &opt_retries, (uchar**) &opt_retries, 0,
|
|
0 commit comments