Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3b13d709
Commit
3b13d709
authored
Sep 25, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected small :) mistake
parent
b67853d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ndb/src/ndbapi/ndb_cluster_connection.cpp
ndb/src/ndbapi/ndb_cluster_connection.cpp
+2
-2
No files found.
ndb/src/ndbapi/ndb_cluster_connection.cpp
View file @
3b13d709
...
@@ -106,7 +106,7 @@ int Ndb_cluster_connection::connect(int reconnect)
...
@@ -106,7 +106,7 @@ int Ndb_cluster_connection::connect(int reconnect)
{
{
if
(
m_local_config
==
0
)
{
if
(
m_local_config
==
0
)
{
m_local_config
=
new
LocalConfig
();
m_local_config
=
new
LocalConfig
();
if
(
m_local_config
->
init
(
m_connect_string
,
0
))
{
if
(
!
m_local_config
->
init
(
m_connect_string
,
0
))
{
ndbout
<<
"Configuration error: Unable to retrieve local config"
<<
endl
;
ndbout
<<
"Configuration error: Unable to retrieve local config"
<<
endl
;
m_local_config
->
printError
();
m_local_config
->
printError
();
m_local_config
->
printUsage
();
m_local_config
->
printUsage
();
...
@@ -179,7 +179,7 @@ Ndb_cluster_connection::~Ndb_cluster_connection()
...
@@ -179,7 +179,7 @@ Ndb_cluster_connection::~Ndb_cluster_connection()
my_free
(
m_connect_string
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
(
m_connect_string
,
MYF
(
MY_ALLOW_ZERO_PTR
));
if
(
m_config_retriever
)
if
(
m_config_retriever
)
delete
m_config_retriever
;
delete
m_config_retriever
;
if
(
m_local_config
==
0
)
if
(
m_local_config
)
delete
m_local_config
;
delete
m_local_config
;
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment