return (CMPISelectExp *) new CMPI_SelectExp (stmt);
}
#ifndef PEGASUS_DISABLE_CQL
- if ((strncmp (lang, "CIMxCQL", CALL_SIGN_CQL_SIZE) == 0) || (strncmp (lang, CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) == 0))
+ if ((strncmp (lang, CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) == 0) ||
+ (strncmp (lang, "CIMxCQL", 7) == 0) ||
+ (strncmp (lang, "CIM:CQL", 7) == 0))
{
/* IBMKR: This will have to be removed when the CMPI spec is updated
with a clear explanation of what properties array can have as
}
/* CIM:CQL */
#ifndef PEGASUS_DISABLE_CQL
- if (strncmp (sx->lang.getCString (), CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) ==
- 0)
+ if ((strncmp (sx->lang.getCString(),
+ CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) == 0) ||
+ (strncmp (sx->lang.getCString(),
+ "CIM:CQL", 7) == 0))
{
if (_check_CQL (sx, rc))
{
return false;
}
#ifndef PEGASUS_DISABLE_CQL
- if (strncmp (sx->lang.getCString (), CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) ==
- 0)
+ if ((strncmp (sx->lang.getCString(),
+ CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) == 0) ||
+ (strncmp (sx->lang.getCString(),
+ "CIM:CQL", 7) == 0))
{
if (_check_CQL (sx, rc))
{
sc = (CMPISelectCond *) new CMPI_SelectCond (sx->tableau, 0);
}
#ifndef PEGASUS_DISABLE_CQL
- if (strncmp (sx->lang.getCString (), CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) ==
- 0)
+ if ((strncmp (sx->lang.getCString(),
+ CALL_SIGN_CQL, CALL_SIGN_CQL_SIZE) == 0) ||
+ (strncmp (sx->lang.getCString(),
+ "CIM:CQL", 7) == 0))
{
if (sx->cql_dnf == NULL)
{