summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-12-05 19:19:58 +0100
committerunknown <msvensson@neptunus.(none)>2006-12-05 19:19:58 +0100
commit64f5ce7ec3bfcf04f052f54f4da92dec92394c0e (patch)
treea3f034e5a17226f53bc2574458fa06b6d87dcdaa /storage
parent439e4aff43f419ac81b19c93dc24bdb2579c7652 (diff)
parent429cf988074f4c1433fcf1930a7a8377e8972ae3 (diff)
downloadmariadb-git-64f5ce7ec3bfcf04f052f54f4da92dec92394c0e.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint client/mysqltest.c: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/ndb_update.result: Auto merged sql/ha_ndbcluster.cc: Auto merged storage/ndb/src/common/util/socket_io.cpp: Auto merged storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged storage/ndb/src/kernel/vm/SimulatedBlock.cpp: Auto merged storage/ndb/src/mgmsrv/Services.cpp: Auto merged storage/ndb/src/ndbapi/NdbTransaction.cpp: Auto merged storage/ndb/src/ndbapi/ndberror.c: Auto merged storage/ndb/test/run-test/daily-basic-tests.txt: Auto merged storage/ndb/tools/ndb_condig.cpp: Auto merged storage/ndb/src/common/util/File.cpp: Manual merge storage/ndb/src/common/util/InputStream.cpp: Manual merge
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/src/common/util/File.cpp2
-rw-r--r--storage/ndb/tools/ndb_condig.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/storage/ndb/src/common/util/File.cpp b/storage/ndb/src/common/util/File.cpp
index 55a3cb70534..106e6274085 100644
--- a/storage/ndb/src/common/util/File.cpp
+++ b/storage/ndb/src/common/util/File.cpp
@@ -140,7 +140,7 @@ File_class::close()
}
}
m_file = NULL;
-
+
return rc;
}
diff --git a/storage/ndb/tools/ndb_condig.cpp b/storage/ndb/tools/ndb_condig.cpp
index 049e4599447..c65f7157c15 100644
--- a/storage/ndb/tools/ndb_condig.cpp
+++ b/storage/ndb/tools/ndb_condig.cpp
@@ -37,7 +37,6 @@ static int g_verbose = 0;
static int try_reconnect = 3;
static int g_nodes, g_connections, g_section;
-static const char * g_connectstring = 0;
static const char * g_query = 0;
static int g_nodeid = 0;
@@ -486,7 +485,7 @@ fetch_configuration()
ndb_mgm_set_error_stream(mgm, stderr);
- if (ndb_mgm_set_connectstring(mgm, g_connectstring))
+ if (ndb_mgm_set_connectstring(mgm, opt_connect_str))
{
fprintf(stderr, "* %5d: %s\n",
ndb_mgm_get_latest_error(mgm),