summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-12-21 18:33:41 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2004-12-21 18:33:41 +0100
commitba9ca889123ce3e496965c2ca71851fe957bb32f (patch)
treedb6bda99cb45ccf324ecbd0e94f6216c59aa6070 /ndb
parentb42f095780b3d7d9756d1e1e5693d8a3ee676fa4 (diff)
downloadmariadb-git-ba9ca889123ce3e496965c2ca71851fe957bb32f.tar.gz
main.cpp:
ifdef on version prior to 5.0 ndb/src/mgmsrv/main.cpp: ifdef on version prior to 5.0
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmsrv/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/mgmsrv/main.cpp b/ndb/src/mgmsrv/main.cpp
index 04c95117214..015e2de022d 100644
--- a/ndb/src/mgmsrv/main.cpp
+++ b/ndb/src/mgmsrv/main.cpp
@@ -161,9 +161,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
case 'V':
print_version();
exit(0);
+#if NDB_VERSION_MAJOR <= 4
case 'c':
printf("Warning: -c will be removed in 5.0, use -f instead\n");
break;
+#endif
case OPT_NDB_SHM:
#ifndef NDB_SHM_TRANSPORTER
printf("Warning: binary not compiled with shared memory support,\n"