We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96cde9 commit 67f77c0Copy full SHA for 67f77c0
storage/ndb/test/src/NDBT_Test.cpp
@@ -1,5 +1,5 @@
1
/*
2
- Copyright (c) 2003, 2021, Oracle and/or its affiliates.
+ Copyright (c) 2003, 2023, 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,
@@ -307,6 +307,8 @@ NDBT_Step::setUp(Ndb_cluster_connection& con){
307
int result = m_ndb->waitUntilReady(300); // 5 minutes
308
if (result != 0){
309
g_err << "Ndb was not ready" << endl;
310
+ delete m_ndb;
311
+ m_ndb = NULL;
312
return NDBT_FAILED;
313
}
314
break;
0 commit comments