analyzetool/commandlineengine/src/atool.cpp
branchRCL_3
changeset 49 7fdc9a71d314
parent 19 da2cedce4920
child 59 8ad140f3dd41
--- 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]