summaryrefslogtreecommitdiff
path: root/ndb/tools/restore
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2005-02-21 23:15:30 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2005-02-21 23:15:30 +0100
commit8a40c5c71d077630b270fe8b74a67021c6f0c3d6 (patch)
tree9e4605bd77938676ac56fd644fa650da92ddfe61 /ndb/tools/restore
parent45064a4accc1665b09ebc97a8206873634ab49ee (diff)
downloadmariadb-git-8a40c5c71d077630b270fe8b74a67021c6f0c3d6.tar.gz
corrected error in ndb programs debug switch
Diffstat (limited to 'ndb/tools/restore')
-rw-r--r--ndb/tools/restore/restore_main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ndb/tools/restore/restore_main.cpp b/ndb/tools/restore/restore_main.cpp
index 326020d7118..93c40d31adb 100644
--- a/ndb/tools/restore/restore_main.cpp
+++ b/ndb/tools/restore/restore_main.cpp
@@ -109,8 +109,10 @@ static my_bool
get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
char *argument)
{
- ndb_std_get_one_option(optid, opt, argument ? argument :
- "d:t:O,/tmp/ndb_restore.trace");
+#ifndef DBUG_OFF
+ opt_debug= "d:t:O,/tmp/ndb_restore.trace";
+#endif
+ ndb_std_get_one_option(optid, opt, argument);
switch (optid) {
case 'n':
if (ga_nodeId == 0)