Skip to content

Commit 53613fc

Browse files
committed
Bug#34853213 Angel data node does not detect if child data node exits normally
Post push fix. NULL should be used instead of nullptr in MySQL Cluster 7.5 and 7.6 code since they are not using C++11 or newer. Change-Id: I475c2002a50a5d5bfffa6e184615a797fe4968cd
1 parent 20221d4 commit 53613fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/src/kernel/angel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2009, 2022, Oracle and/or its affiliates.
1+
/* Copyright (c) 2009, 2023, Oracle and/or its affiliates.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License, version 2.0,
@@ -418,7 +418,7 @@ spawn_process(const char* progname,
418418
#ifdef _WIN32
419419
// Get full path name of this executeble
420420
char path[MAX_PATH];
421-
DWORD len = GetModuleFileName(nullptr, path, sizeof(path));
421+
DWORD len = GetModuleFileName(NULL, path, sizeof(path));
422422
if (len == 0 || len == sizeof(path))
423423
{
424424
g_eventLogger->warning("spawn_process: Could not extract full path, "

0 commit comments

Comments
 (0)