summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/DumpDB.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-04-20 15:30:28 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-04-20 15:30:28 -0230
commitb0089ca4d5998548dbbfbc1dec8414fe8f7c557f (patch)
treea5d50a3d1d57454293a93789de5423db53b512e8 /cpp/src/FreezeScript/DumpDB.cpp
parentbug 3961 - change Application classes to use process logger (diff)
downloadice-b0089ca4d5998548dbbfbc1dec8414fe8f7c557f.tar.bz2
ice-b0089ca4d5998548dbbfbc1dec8414fe8f7c557f.tar.xz
ice-b0089ca4d5998548dbbfbc1dec8414fe8f7c557f.zip
Bug 1535 - remove --case-sensitive option form slice compilers
Diffstat (limited to 'cpp/src/FreezeScript/DumpDB.cpp')
-rw-r--r--cpp/src/FreezeScript/DumpDB.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/FreezeScript/DumpDB.cpp b/cpp/src/FreezeScript/DumpDB.cpp
index bf377926f8b..b528837369c 100644
--- a/cpp/src/FreezeScript/DumpDB.cpp
+++ b/cpp/src/FreezeScript/DumpDB.cpp
@@ -104,7 +104,6 @@ usage(const char* n)
"-c, --catalog Display information about the databases in an\n"
" environment, or about a particular database.\n"
;
- // Note: --case-sensitive is intentionally not shown here!
}
static void
@@ -136,7 +135,6 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
string keyTypeName;
string valueTypeName;
string selectExpr;
- bool caseSensitive;
string dbEnvName, dbName;
IceUtilInternal::Options opts;
@@ -155,7 +153,6 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
opts.addOpt("", "value", IceUtilInternal::Options::NeedArg);
opts.addOpt("", "select", IceUtilInternal::Options::NeedArg);
opts.addOpt("c", "catalog");
- opts.addOpt("", "case-sensitive");
vector<string> args;
try
@@ -293,7 +290,6 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
{
selectExpr = opts.optArg("select");
}
- caseSensitive = opts.isSet("case-sensitive");
if(outputFile.empty() && args.size() != 2)
{
@@ -321,7 +317,7 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
return EXIT_FAILURE;
}
- Slice::UnitPtr unit = Slice::Unit::createUnit(true, true, ice, caseSensitive);
+ Slice::UnitPtr unit = Slice::Unit::createUnit(true, true, ice);
FreezeScript::Destroyer<Slice::UnitPtr> unitD(unit);
if(!FreezeScript::parseSlice(argv[0], unit, slice, cppArgs, debug))
{