summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/transformdb.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/transformdb.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/transformdb.cpp')
-rw-r--r--cpp/src/FreezeScript/transformdb.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/FreezeScript/transformdb.cpp b/cpp/src/FreezeScript/transformdb.cpp
index 98ebebb0537..5865a89f6f5 100644
--- a/cpp/src/FreezeScript/transformdb.cpp
+++ b/cpp/src/FreezeScript/transformdb.cpp
@@ -85,7 +85,6 @@ usage(const char* n)
"-w Suppress duplicate warnings during migration.\n"
"-f FILE Execute the transformation descriptors in the file FILE.\n"
;
- // Note: --case-sensitive is intentionally not shown here!
}
static Slice::TypePtr
@@ -228,7 +227,6 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
vector<string> oldSlice;
vector<string> newSlice;
bool evictor;
- bool caseSensitive;
string keyTypeNames;
string valueTypeNames;
string dbEnvName, dbName, dbEnvNameNew;
@@ -254,7 +252,6 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
opts.addOpt("e");
opts.addOpt("", "key", IceUtilInternal::Options::NeedArg);
opts.addOpt("", "value", IceUtilInternal::Options::NeedArg);
- opts.addOpt("", "case-sensitive");
vector<string> args;
try
@@ -354,7 +351,6 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
{
valueTypeNames = opts.optArg("value");
}
- caseSensitive = opts.isSet("case-sensitive");
if(outputFile.empty())
{
@@ -419,14 +415,14 @@ run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
return EXIT_FAILURE;
}
- Slice::UnitPtr oldUnit = Slice::Unit::createUnit(true, true, ice, caseSensitive);
+ Slice::UnitPtr oldUnit = Slice::Unit::createUnit(true, true, ice);
FreezeScript::Destroyer<Slice::UnitPtr> oldD(oldUnit);
if(!FreezeScript::parseSlice(argv[0], oldUnit, oldSlice, oldCppArgs, debug))
{
return EXIT_FAILURE;
}
- Slice::UnitPtr newUnit = Slice::Unit::createUnit(true, true, ice, caseSensitive);
+ Slice::UnitPtr newUnit = Slice::Unit::createUnit(true, true, ice);
FreezeScript::Destroyer<Slice::UnitPtr> newD(newUnit);
if(!FreezeScript::parseSlice(argv[0], newUnit, newSlice, newCppArgs, debug))
{