summaryrefslogtreecommitdiff
path: root/storage/ndb/test
diff options
context:
space:
mode:
authorunknown <pekka@sama.ndb.mysql.com>2008-02-01 00:18:30 +0100
committerunknown <pekka@sama.ndb.mysql.com>2008-02-01 00:18:30 +0100
commit5032fadd0448ed2be8800dbc2f5f4f982efd133d (patch)
tree59157dfa0e3e0dffeb4daad2a024aa3156b4ee34 /storage/ndb/test
parent57ea5ad5df238ac608421b5d827dea1592e8c3a3 (diff)
parente2bdd9b244851f9104f130fc62024879a4b7f8c1 (diff)
downloadmariadb-git-5032fadd0448ed2be8800dbc2f5f4f982efd133d.tar.gz
Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb
into sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb
Diffstat (limited to 'storage/ndb/test')
-rw-r--r--storage/ndb/test/tools/hugoPkUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/ndb/test/tools/hugoPkUpdate.cpp b/storage/ndb/test/tools/hugoPkUpdate.cpp
index b920a4f396a..3fa87da3145 100644
--- a/storage/ndb/test/tools/hugoPkUpdate.cpp
+++ b/storage/ndb/test/tools/hugoPkUpdate.cpp
@@ -106,7 +106,7 @@ int main(int argc, const char** argv){
NDBT_ThreadSet ths(_threads);
// create Ndb object for each thread
- if (ths.connect(&con, "TEST_DB") == -1) {
+ if (ths.connect(&con, db ? db : "TEST_DB") == -1) {
ndbout << "connect failed: err=" << ths.get_err() << endl;
return NDBT_ProgramExit(NDBT_FAILED);
}