--- a/analyzetool/commandlineengine/src/atool.cpp Wed Sep 15 00:19:18 2010 +0300
+++ b/analyzetool/commandlineengine/src/atool.cpp Wed Sep 15 13:53:27 2010 +0300
@@ -207,6 +207,12 @@
cout << AT_MSG << "Error, " << args.PARSE.sDataFile << " is already parsed." << endl;
return AT_RETURN_CODE::INVALID_ARGUMENT_ERROR;
}
+ else if( CATBase::IsBinaryLogFile( args.PARSE.sDataFile ) )
+ {
+ cout << AT_MSG << "Error, " << args.PARSE.sDataFile << " is binary log file." << endl;
+ return AT_RETURN_CODE::INVALID_ARGUMENT_ERROR;
+ }
+
if ( args.PARSE.bOutputFile )
{
//Save data with name in arguments[3]