version 1.26, 2007/04/18 20:14:35
|
version 1.27, 2007/05/18 17:32:57
|
|
|
| |
switch(_valueType) | switch(_valueType) |
{ | { |
|
case CQLValue::Null_type: |
|
if(x._valueType != CQLValue::Null_type) |
|
{ |
|
MessageLoaderParms mload(String("CQL.CQLValueRep.OP_TYPE_MISMATCH"), |
|
String("Validation type mismatch error for type: $0"), |
|
String("NULLVALUE")); |
|
throw CQLRuntimeException(mload); |
|
} |
|
break; |
case CQLValue::Boolean_type: | case CQLValue::Boolean_type: |
if(x._valueType != CQLValue::Boolean_type) | if(x._valueType != CQLValue::Boolean_type) |
{ | { |
|
|
if(cv.isNull()) | if(cv.isNull()) |
{ | { |
_valueType = CQLValue::Null_type; | _valueType = CQLValue::Null_type; |
|
_isResolved = true; |
|
PEG_METHOD_EXIT(); |
|
return; |
} | } |
if(key != -1) | if(key != -1) |
{ | { |
|
|
{ | { |
PEG_METHOD_ENTER(TRC_CQL,"CQLValueRep::_compareArray()"); | PEG_METHOD_ENTER(TRC_CQL,"CQLValueRep::_compareArray()"); |
| |
|
if ((_valueType == CQLValue::Null_type) && |
|
(_in._valueType == CQLValue::Null_type)) |
|
{ |
|
PEG_METHOD_EXIT(); |
|
return true; |
|
} |
|
|
|
if ((_valueType == CQLValue::Null_type) || |
|
(_in._valueType == CQLValue::Null_type)) |
|
{ |
|
PEG_METHOD_EXIT(); |
|
return false; |
|
} |
| |
Boolean result; | Boolean result; |
Array<Boolean> _bool1; | Array<Boolean> _bool1; |