(file) Return to CQLSimplePredicateRep.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / CQL

Diff for /pegasus/src/Pegasus/CQL/CQLSimplePredicateRep.cpp between version 1.14 and 1.15

version 1.14, 2007/04/18 20:14:35 version 1.15, 2007/09/19 20:54:42
Line 98 
Line 98 
  
     PEGASUS_ASSERT(_operator != IS_NULL && _operator != IS_NOT_NULL);     PEGASUS_ASSERT(_operator != IS_NULL && _operator != IS_NOT_NULL);
  
     if (leftVal.isNull())  
     {  
         // The null contagion rule.  See CQLSelectStatementRep for details.  
         MessageLoaderParms parms("CQL.CQLSimplePredicateRep.NULL_CONTAGION",  
                                  "The expression evaluates to NULL.");  
         throw CQLNullContagionException(parms);  
     }  
   
     if (_operator == ISA)     if (_operator == ISA)
     {     {
         // Special processing for ISA.  The CQLValue on the right side of ISA         // Special processing for ISA.  The CQLValue on the right side of ISA
Line 166 
Line 158 
     // Resolve the value of the right side     // Resolve the value of the right side
     CQLValue rightVal = _rightSide.resolveValue(CI, QueryCtx);     CQLValue rightVal = _rightSide.resolveValue(CI, QueryCtx);
  
     // printf("Left Value - %s, Right value - %s\n",  
     // (const char *)leftVal.toString().getCString(),  
     // (const char *)rightVal.toString().getCString());  
   
     if (rightVal.isNull())  
     {  
         // The null contagion rule.  See CQLSelectStatementRep for details.  
         // ATTN - change this to a specific CQLException so that it can  
         // be caught above  
         // The null contagion rule.  See CQLSelectStatementRep for details.  
         MessageLoaderParms parms("CQL.CQLSimplePredicateRep.NULL_CONTAGION",  
                                  "The expression evaluates to NULL.");  
         throw CQLNullContagionException(parms);  
     }  
   
     switch(_operator)     switch(_operator)
     {     {
         case LT:         case LT:


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2