/trunk/main/connectivity/source/parse/ |
H A D | sqliterator.cxx | 228 if (SQL_ISRULE(m_pParseTree,select_statement) || SQL_ISRULE(m_pParseTree,union_statement) ) in setParseTree() 520 OSL_PRECOND( SQL_ISRULE( pTableRef, cross_union ) || SQL_ISRULE( pTableRef, qualified_join ) , in getQualified_join() 563 OSL_PRECOND( SQL_ISRULE( pTableRef, table_ref ) || SQL_ISRULE( pTableRef, joined_table ) in getTableNode() 564 || SQL_ISRULE( pTableRef, qualified_join ) || SQL_ISRULE( pTableRef, cross_union ), in getTableNode() 573 if ( SQL_ISRULE( pTableRef, qualified_join ) || SQL_ISRULE( pTableRef, cross_union ) ) in getTableNode() 765 else if(SQL_ISRULE(_pColumnRef,general_set_fct) || SQL_ISRULE(_pColumnRef,set_fct_spec)) in lcl_getColumnRange() 808 if (SQL_ISRULE(pNode,column_ref)) in getColumnTableRange() 1440 else if (SQL_ISRULE(pSearchCondition,num_value_exp) || SQL_ISRULE(pSearchCondition,term)) in traverseANDCriteria() 1552 … if ( pParent && (SQL_ISRULE(pParent,general_set_fct) || SQL_ISRULE(pParent,set_fct_spec)) ) in traverseParameter() 2172 …else if ( SQL_ISRULE(_pNode,num_value_exp) || SQL_ISRULE(_pNode,term) || SQL_ISRULE(_pNode,factor)… in getFunctionReturnType() [all …]
|
H A D | sqlnode.cxx | 439 aNewParam.bQuote = ( SQL_ISRULE(this,length_exp) || SQL_ISRULE(this,char_value_fct) ); in impl_parseNodeToString_throw() 506 if ( ( SQL_ISRULE(pCol,column_val) in impl_parseNodeToString_throw() 747 if (SQL_ISRULE(pTableNode,catalog_name)) in getTableComponents() 754 if(SQL_ISRULE(pTableNode,schema_name)) in getTableComponents() 763 if(SQL_ISRULE(pTableNode,table_name)) in getTableComponents() 1877 …else if(SQL_ISRULE(pLeft,boolean_primary) && (!SQL_ISRULE(pLeft->getChild(1),search_condition) || … in disjunctiveNormalForm() 1879 …else if(SQL_ISRULE(pRight,boolean_primary) && (!SQL_ISRULE(pRight->getChild(1),search_condition) |… in disjunctiveNormalForm() 2042 if(SQL_ISRULE(pSearchCondition,boolean_term) || SQL_ISRULE(pSearchCondition,search_condition)) in absorptions() 2053 if(( SQL_ISRULE(pSearchCondition,boolean_term) || SQL_ISRULE(pSearchCondition,search_condition)) in absorptions() 2146 if(SQL_ISRULE(pSearchCondition,boolean_term) || SQL_ISRULE(pSearchCondition,search_condition)) in compress() [all …]
|
H A D | sqlbison.y | 4091 if ( SQL_ISRULE($$,search_condition) ) 4726 …if(SQL_ISRULE(pLiteral,set_fct_spec) || SQL_ISRULE(pLiteral,general_set_fct) || SQL_ISRULE(pLitera… 4727 || SQL_ISRULE(pLiteral,subquery)) 4746 if(SQL_ISRULE(pLiteral,term) || SQL_ISRULE(pLiteral,value_exp_primary))
|
/trunk/main/connectivity/source/drivers/file/ |
H A D | fcomp.cxx | 132 if (SQL_ISRULE(pWhereClause,where_clause)) in start() 160 else if ((SQL_ISRULE(pPredicateNode,search_condition) || (SQL_ISRULE(pPredicateNode,boolean_term))) in execute() 215 else if(SQL_ISRULE(pPredicateNode,term)) in execute() 297 SQL_ISRULE(pAtom,parameter) || in execute_LIKE() 299 SQL_ISRULE(pAtom,set_fct_spec) || in execute_LIKE() 300 SQL_ISRULE(pAtom,position_exp) || in execute_LIKE() 301 SQL_ISRULE(pAtom,char_substring_fct) || in execute_LIKE() 303 SQL_ISRULE(pAtom,fold)) ) in execute_LIKE() 439 if (SQL_ISRULE(pPredicateNode,column_ref)) in execute_Operand() 494 SQL_ISRULE(pPredicateNode,parameter)) in execute_Operand() [all …]
|
H A D | fanalyzer.cxx | 69 if (SQL_ISRULE(pSQLParseNode,select_statement)) in start() 75 if ( SQL_ISRULE(pSelection,scalar_exp_commalist) ) in start() 81 || SQL_ISRULE(pColumnRef,char_value_fct) in start() 82 || SQL_ISRULE(pColumnRef,char_substring_fct) in start() 83 || SQL_ISRULE(pColumnRef,position_exp) in start() 84 || SQL_ISRULE(pColumnRef,fold) in start() 85 || SQL_ISRULE(pColumnRef,length_exp) in start() 86 || SQL_ISRULE(pColumnRef,num_value_exp) in start() 87 || SQL_ISRULE(pColumnRef,term) in start() 88 || SQL_ISRULE(pColumnRef,factor) in start() [all …]
|
H A D | FStatement.cxx | 405 OSL_ENSURE(SQL_ISRULE(pOrderingSpec,ordering_spec),"OResultSet: Fehler im Parse Tree"); in anylizeSQL() 409 if(!SQL_ISRULE(pColumnRef,column_ref)) in anylizeSQL() 583 if (SQL_ISRULE(m_pParseTree,select_statement)) in GetAssignValues() 586 else if (SQL_ISRULE(m_pParseTree,insert_statement)) in GetAssignValues() 605 …OSL_ENSURE(SQL_ISRULE(pOptColumnCommalist,opt_column_commalist),"OResultSet: Fehler im Parse Tree"… in GetAssignValues() 620 OSL_ENSURE(SQL_ISRULE(pColumnCommalist,column_commalist),"OResultSet: Fehler im Parse Tree"); in GetAssignValues() 658 if(SQL_ISRULE(pRow_Value_Const,parameter)) in GetAssignValues() 676 else if (SQL_ISRULE(m_pParseTree,update_statement_searched)) in GetAssignValues() 691 …OSL_ENSURE(SQL_ISRULE(pAssignmentCommalist,assignment_commalist),"OResultSet: Fehler im Parse Tree… in GetAssignValues() 700 OSL_ENSURE(SQL_ISRULE(pAssignment,assignment),"OResultSet: Fehler im Parse Tree"); in GetAssignValues() [all …]
|
H A D | FPreparedStatement.cxx | 481 …OSL_ENSURE(SQL_ISRULE(pParameter,parameter),"OResultSet::AddParameter: Argument ist kein Parameter… in AddParameter() 526 if(SQL_ISRULE(_pNode,column_ref)) in describeColumn()
|
H A D | FNoException.cxx | 88 if (SQL_ISRULE(pParseNode,parameter)) in scanParameter()
|
H A D | FResultSet.cxx | 129 SQL_ISRULE(m_pParseTree->getChild(2),scalar_exp_commalist) && in DBG_NAME() 130 SQL_ISRULE(m_pParseTree->getChild(2)->getChild(0),derived_column) && in DBG_NAME() 131 SQL_ISRULE(m_pParseTree->getChild(2)->getChild(0)->getChild(0),general_set_fct) && in DBG_NAME()
|
H A D | fcode.cxx | 135 OSL_ENSURE(SQL_ISRULE(pNode,parameter),"Argument ist kein Parameter"); in OOperandParam()
|
/trunk/main/connectivity/source/drivers/macab/ |
H A D | MacabStatement.cxx | 134 else if (SQL_ISRULE(pLeft, column_ref)) in analyseWhereClause() 176 else if (SQL_ISRULE(pParseNode, boolean_term)) in analyseWhereClause() 187 else if (SQL_ISRULE(pParseNode, test_for_null) || SQL_ISRULE(pParseNode, like_predicate)) in analyseWhereClause() 195 if (SQL_ISRULE(pParseNode, test_for_null)) in analyseWhereClause() 197 if (SQL_ISRULE(pLeft, column_ref) && in analyseWhereClause() 218 else if (SQL_ISRULE(pParseNode, like_predicate)) in analyseWhereClause() 220 if (SQL_ISRULE(pLeft, column_ref)) in analyseWhereClause() 263 else if (SQL_ISRULE(pParseNode, ordering_spec)) in analyseOrderByClause() 270 if (SQL_ISRULE(pColumnRef, column_ref)) in analyseOrderByClause() 335 if (SQL_ISRULE(pParseNode, where_clause)) in selectRecords() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | QueryDesignView.cxx | 303 …if ( SQL_ISRULE( pParseNode, qualified_join ) || SQL_ISRULE( pParseNode, joined_table ) || SQL_ISR… in FillOuterJoins() 305 else if( SQL_ISRULE(pParseNode,table_ref) in FillOuterJoins() 1302 if (!SQL_ISRULE(pNode, select_statement)) in GetSelectionCriteria() 1461 if (SQL_ISRULE(pValueExp, column_ref ) ) in GetANDCriteria() 1911 if (SQL_ISRULE(_pNode,qualified_join)) in checkJoinConditions() 1929 …DBG_ASSERT( SQL_ISRULE( pNode, qualified_join ) || SQL_ISRULE( pNode, joined_table ) || SQL_ISRULE… in InsertJoin() 1932 if (SQL_ISRULE(pNode,joined_table)) in InsertJoin() 1947 if ( SQL_ISRULE(pNode, qualified_join) ) in InsertJoin() 2262 if (SQL_ISRULE(pColumnRef,column_ref)) in InstallFields() 2421 if(SQL_ISRULE(pArgument,column_ref)) in GetOrderCriteria() [all …]
|
H A D | SelectionBrowseBox.cxx | 792 if ( SQL_ISRULE(pSelection,selection) ) // we found the asterix in saveField() 821 OSL_ENSURE(SQL_ISRULE(pChild,derived_column), "No derived column found!"); in saveField() 842 … if ( SQL_ISRULE(pColumnRef,column_ref) ) // we found a valid column name or more column names in saveField() 854 if ( SQL_ISRULE(pColumnRef,general_set_fct) ) in saveField() 865 if ( nFunCount == 4 && SQL_ISRULE(pColumnRef->getChild(3),column_ref) ) in saveField() 929 if ( SQL_ISRULE(pColumnRef,set_fct_spec) ) in saveField() 933 … if ( SQL_ISRULEOR2(pColumnRef,num_value_exp,term) || SQL_ISRULE(pColumnRef,factor) ) in saveField() 935 else if ( SQL_ISRULE(pColumnRef,value_exp) ) in saveField()
|
/trunk/main/connectivity/source/drivers/evoab2/ |
H A D | NStatement.cxx | 259 if ( !pOrderBy || !SQL_ISRULE( pOrderBy, ordering_spec ) ) in orderByAnalysis() 266 && SQL_ISRULE( pAscDesc, opt_asc_desc ) in orderByAnalysis() 271 if ( !SQL_ISRULE( pColumnRef, column_ref ) ) in orderByAnalysis() 302 else if( ( SQL_ISRULE( parseTree, search_condition ) || in whereAnalysis() 303 SQL_ISRULE( parseTree, boolean_term ) ) && in whereAnalysis() 320 else if( SQL_ISRULE( parseTree, comparison_predicate ) ) in whereAnalysis() 378 else if( SQL_ISRULE( parseTree, like_predicate ) ) in whereAnalysis() 383 if( ! SQL_ISRULE( parseTree->getChild( 0 ), column_ref) ) in whereAnalysis() 393 SQL_ISRULE( pAtom,parameter ) || in whereAnalysis() 465 else if( SQL_ISRULE( pAllTableNames->getChild( 0 ), table_ref ) ) in getTableName() [all …]
|
/trunk/main/dbaccess/source/core/api/ |
H A D | SingleSelectQueryComposer.cxx | 1007 else if (SQL_ISRULE(pCondition,search_condition)) in setORCriteria() 1038 if (SQL_ISRULE(pCondition,boolean_primary)) in setANDCriteria() 1054 else if (SQL_ISRULE(pCondition,like_predicate) || in setANDCriteria() 1055 SQL_ISRULE(pCondition,test_for_null) || in setANDCriteria() 1056 SQL_ISRULE(pCondition,in_predicate) || in setANDCriteria() 1057 SQL_ISRULE(pCondition,all_or_any_predicate) || in setANDCriteria() 1058 SQL_ISRULE(pCondition,between_predicate)) in setANDCriteria() 1079 if ( SQL_ISRULE(pCondition,like_predicate) ) in setANDCriteria() 1086 else if (SQL_ISRULE(pCondition,test_for_null)) in setANDCriteria() 1093 else if (SQL_ISRULE(pCondition,in_predicate)) in setANDCriteria() [all …]
|
H A D | RowSetCache.cxx | 1513 …else if ((SQL_ISRULE(pNode,search_condition) || SQL_ISRULE(pNode,boolean_term)) && // AND/OR-Ver… in checkInnerJoin() 1521 else if (SQL_ISRULE(pNode,comparison_predicate)) in checkInnerJoin() 1525 if (!(SQL_ISRULE(pNode->getChild(0),column_ref) && in checkInnerJoin() 1526 SQL_ISRULE(pNode->getChild(2),column_ref) && in checkInnerJoin() 1552 if ( pSqlParseNode.get() && SQL_ISRULE(pSqlParseNode, select_statement) ) in checkJoin() 1564 if(SQL_ISRULE(pJoinType,join_type) && pJoinType->count() == 2) in checkJoin() 1566 else if(SQL_ISRULE(pJoinType,outer_join_type)) in checkJoin() 1584 OSL_ENSURE(SQL_ISRULE(pTableRef,table_ref),"Must be a tableref here!"); in checkJoin()
|
/trunk/main/connectivity/inc/connectivity/ |
H A D | sqlnode.hxx | 466 …#define SQL_ISRULE(pParseNode, eRule) ((pParseNode)->isRule() && (pParseNode)->getRuleID() == OSQ… macro
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | APreparedStatement.cxx | 544 if(SQL_ISRULE(pChildNode,parameter) && pChildNode->count() == 1) in replaceParameterNodeName()
|