Lines Matching refs:nValue
260 SQLUINTEGER nValue; in getMaxBinaryLiteralLength() local
261 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_BINARY_LITERAL_LEN,nValue,*this); in getMaxBinaryLiteralLength()
262 return nValue; in getMaxBinaryLiteralLength()
267 SQLUINTEGER nValue; in getMaxRowSize() local
268 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_ROW_SIZE,nValue,*this); in getMaxRowSize()
269 return nValue; in getMaxRowSize()
274 SQLUSMALLINT nValue; in getMaxCatalogNameLength() local
275 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_CATALOG_NAME_LEN,nValue,*this); in getMaxCatalogNameLength()
276 return nValue; in getMaxCatalogNameLength()
281 SQLUINTEGER nValue; in getMaxCharLiteralLength() local
282 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_CHAR_LITERAL_LEN,nValue,*this); in getMaxCharLiteralLength()
283 return nValue; in getMaxCharLiteralLength()
288 SQLUSMALLINT nValue; in getMaxColumnNameLength() local
289 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_COLUMN_NAME_LEN,nValue,*this); in getMaxColumnNameLength()
290 return nValue; in getMaxColumnNameLength()
295 SQLUSMALLINT nValue; in getMaxColumnsInIndex() local
296 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_COLUMNS_IN_INDEX,nValue,*this); in getMaxColumnsInIndex()
297 return nValue; in getMaxColumnsInIndex()
302 SQLUSMALLINT nValue; in getMaxCursorNameLength() local
303 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_CURSOR_NAME_LEN,nValue,*this); in getMaxCursorNameLength()
304 return nValue; in getMaxCursorNameLength()
309 SQLUSMALLINT nValue; in getMaxConnections() local
310 …pConnection,m_aConnectionHandle,SQL_MAX_DRIVER_CONNECTIONS/*SQL_ACTIVE_CONNECTIONS*/,nValue,*this); in getMaxConnections()
311 return nValue; in getMaxConnections()
316 SQLUSMALLINT nValue; in getMaxColumnsInTable() local
317 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_COLUMNS_IN_TABLE,nValue,*this); in getMaxColumnsInTable()
318 return nValue; in getMaxColumnsInTable()
323 SQLUINTEGER nValue; in getMaxStatementLength() local
324 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_STATEMENT_LEN,nValue,*this); in getMaxStatementLength()
325 return nValue; in getMaxStatementLength()
330 SQLUSMALLINT nValue; in getMaxTableNameLength() local
331 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_TABLE_NAME_LEN,nValue,*this); in getMaxTableNameLength()
332 return nValue; in getMaxTableNameLength()
337 SQLUSMALLINT nValue; in impl_getMaxTablesInSelect_throw() local
338 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_TABLES_IN_SELECT,nValue,*this); in impl_getMaxTablesInSelect_throw()
339 return nValue; in impl_getMaxTablesInSelect_throw()
471 SQLUSMALLINT nValue; in storesLowerCaseQuotedIdentifiers() local
472 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_QUOTED_IDENTIFIER_CASE,nValue,*this); in storesLowerCaseQuotedIdentifiers()
473 return nValue == SQL_IC_LOWER; in storesLowerCaseQuotedIdentifiers()
478 SQLUSMALLINT nValue; in storesLowerCaseIdentifiers() local
479 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_IDENTIFIER_CASE,nValue,*this); in storesLowerCaseIdentifiers()
480 return nValue == SQL_IC_LOWER; in storesLowerCaseIdentifiers()
485 SQLUSMALLINT nValue; in impl_storesMixedCaseQuotedIdentifiers_throw() local
486 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_QUOTED_IDENTIFIER_CASE,nValue,*this); in impl_storesMixedCaseQuotedIdentifiers_throw()
487 return nValue == SQL_IC_MIXED; in impl_storesMixedCaseQuotedIdentifiers_throw()
492 SQLUSMALLINT nValue; in storesMixedCaseIdentifiers() local
493 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_IDENTIFIER_CASE,nValue,*this); in storesMixedCaseIdentifiers()
494 return nValue == SQL_IC_MIXED; in storesMixedCaseIdentifiers()
499 SQLUSMALLINT nValue; in storesUpperCaseQuotedIdentifiers() local
500 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_QUOTED_IDENTIFIER_CASE,nValue,*this); in storesUpperCaseQuotedIdentifiers()
501 return nValue == SQL_IC_UPPER; in storesUpperCaseQuotedIdentifiers()
506 SQLUSMALLINT nValue; in storesUpperCaseIdentifiers() local
507 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_IDENTIFIER_CASE,nValue,*this); in storesUpperCaseIdentifiers()
508 return nValue == SQL_IC_UPPER; in storesUpperCaseIdentifiers()
513 SQLUINTEGER nValue; in impl_supportsAlterTableWithAddColumn_throw() local
514 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ALTER_TABLE,nValue,*this); in impl_supportsAlterTableWithAddColumn_throw()
515 return (nValue & SQL_AT_ADD_COLUMN) == SQL_AT_ADD_COLUMN; in impl_supportsAlterTableWithAddColumn_throw()
520 SQLUINTEGER nValue; in impl_supportsAlterTableWithDropColumn_throw() local
521 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ALTER_TABLE,nValue,*this); in impl_supportsAlterTableWithDropColumn_throw()
522 return ((nValue & SQL_AT_DROP_COLUMN) == SQL_AT_DROP_COLUMN) || in impl_supportsAlterTableWithDropColumn_throw()
523 ((nValue & SQL_AT_DROP_COLUMN_CASCADE) == SQL_AT_DROP_COLUMN_CASCADE) || in impl_supportsAlterTableWithDropColumn_throw()
524 ((nValue & SQL_AT_DROP_COLUMN_RESTRICT) == SQL_AT_DROP_COLUMN_RESTRICT); in impl_supportsAlterTableWithDropColumn_throw()
529 SQLUINTEGER nValue; in getMaxIndexLength() local
530 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_INDEX_SIZE,nValue,*this); in getMaxIndexLength()
531 return nValue; in getMaxIndexLength()
536 SQLUSMALLINT nValue; in supportsNonNullableColumns() local
537 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_NON_NULLABLE_COLUMNS,nValue,*this); in supportsNonNullableColumns()
538 return nValue == SQL_NNC_NON_NULL; in supportsNonNullableColumns()
565 SQLUSMALLINT nValue; in supportsDifferentTableCorrelationNames() local
566 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CORRELATION_NAME,nValue,*this); in supportsDifferentTableCorrelationNames()
567 return nValue != SQL_CN_NONE; in supportsDifferentTableCorrelationNames()
572 SQLUSMALLINT nValue=0; in impl_isCatalogAtStart_throw() local
574 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_LOCATION,nValue,*this); in impl_isCatalogAtStart_throw()
575 return nValue == SQL_CL_START; in impl_isCatalogAtStart_throw()
580 SQLUSMALLINT nValue; in dataDefinitionIgnoredInTransactions() local
581 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TXN_CAPABLE,nValue,*this); in dataDefinitionIgnoredInTransactions()
582 return nValue == SQL_TC_DDL_IGNORE; in dataDefinitionIgnoredInTransactions()
587 SQLUSMALLINT nValue; in dataDefinitionCausesTransactionCommit() local
588 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TXN_CAPABLE,nValue,*this); in dataDefinitionCausesTransactionCommit()
589 return nValue == SQL_TC_DDL_COMMIT; in dataDefinitionCausesTransactionCommit()
594 SQLUSMALLINT nValue; in supportsDataManipulationTransactionsOnly() local
595 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TXN_CAPABLE,nValue,*this); in supportsDataManipulationTransactionsOnly()
596 return nValue == SQL_TC_DML; in supportsDataManipulationTransactionsOnly()
601 SQLUSMALLINT nValue; in supportsDataDefinitionAndDataManipulationTransactions() local
602 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TXN_CAPABLE,nValue,*this); in supportsDataDefinitionAndDataManipulationTransactions()
603 return nValue == SQL_TC_ALL; in supportsDataDefinitionAndDataManipulationTransactions()
608 SQLUINTEGER nValue; in supportsPositionedDelete() local
609 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_DYNAMIC_CURSOR_ATTRIBUTES1,nValue,*this); in supportsPositionedDelete()
610 return (nValue & SQL_CA1_POS_DELETE) == SQL_CA1_POS_DELETE; in supportsPositionedDelete()
615 SQLUINTEGER nValue; in supportsPositionedUpdate() local
616 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_DYNAMIC_CURSOR_ATTRIBUTES1,nValue,*this); in supportsPositionedUpdate()
617 return (nValue & SQL_CA1_POS_UPDATE) == SQL_CA1_POS_UPDATE; in supportsPositionedUpdate()
622 SQLUSMALLINT nValue; in supportsOpenStatementsAcrossRollback() local
623 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CURSOR_ROLLBACK_BEHAVIOR,nValue,*this); in supportsOpenStatementsAcrossRollback()
624 return nValue == SQL_CB_PRESERVE || nValue == SQL_CB_CLOSE; in supportsOpenStatementsAcrossRollback()
629 SQLUSMALLINT nValue; in supportsOpenStatementsAcrossCommit() local
630 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CURSOR_COMMIT_BEHAVIOR,nValue,*this); in supportsOpenStatementsAcrossCommit()
631 return nValue == SQL_CB_PRESERVE || nValue == SQL_CB_CLOSE; in supportsOpenStatementsAcrossCommit()
636 SQLUSMALLINT nValue; in supportsOpenCursorsAcrossCommit() local
637 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CURSOR_COMMIT_BEHAVIOR,nValue,*this); in supportsOpenCursorsAcrossCommit()
638 return nValue == SQL_CB_PRESERVE; in supportsOpenCursorsAcrossCommit()
643 SQLUSMALLINT nValue; in supportsOpenCursorsAcrossRollback() local
644 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CURSOR_ROLLBACK_BEHAVIOR,nValue,*this); in supportsOpenCursorsAcrossRollback()
645 return nValue == SQL_CB_PRESERVE; in supportsOpenCursorsAcrossRollback()
650 SQLUINTEGER nValue; in supportsTransactionIsolationLevel() local
651 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TXN_ISOLATION_OPTION,nValue,*this); in supportsTransactionIsolationLevel()
652 return (nValue & static_cast<SQLUINTEGER>(level)) == static_cast<SQLUINTEGER>(level); in supportsTransactionIsolationLevel()
657 SQLUINTEGER nValue; in impl_supportsSchemasInDataManipulation_throw() local
658 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SCHEMA_USAGE,nValue,*this); in impl_supportsSchemasInDataManipulation_throw()
659 return (nValue & SQL_SU_DML_STATEMENTS) == SQL_SU_DML_STATEMENTS; in impl_supportsSchemasInDataManipulation_throw()
664 SQLUINTEGER nValue; in supportsANSI92FullSQL() local
665 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SQL_CONFORMANCE,nValue,*this); in supportsANSI92FullSQL()
666 return nValue == SQL_SC_SQL92_FULL; in supportsANSI92FullSQL()
671 SQLUINTEGER nValue; in supportsANSI92EntryLevelSQL() local
672 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SQL_CONFORMANCE,nValue,*this); in supportsANSI92EntryLevelSQL()
673 return nValue == SQL_SC_SQL92_ENTRY; in supportsANSI92EntryLevelSQL()
685 SQLUINTEGER nValue; in supportsSchemasInIndexDefinitions() local
686 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SCHEMA_USAGE,nValue,*this); in supportsSchemasInIndexDefinitions()
687 return (nValue & SQL_SU_INDEX_DEFINITION) == SQL_SU_INDEX_DEFINITION; in supportsSchemasInIndexDefinitions()
692 SQLUINTEGER nValue; in impl_supportsSchemasInTableDefinitions_throw() local
693 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SCHEMA_USAGE,nValue,*this); in impl_supportsSchemasInTableDefinitions_throw()
694 return (nValue & SQL_SU_TABLE_DEFINITION) == SQL_SU_TABLE_DEFINITION; in impl_supportsSchemasInTableDefinitions_throw()
699 SQLUINTEGER nValue=0; in impl_supportsCatalogsInTableDefinitions_throw() local
701 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_USAGE,nValue,*this); in impl_supportsCatalogsInTableDefinitions_throw()
702 return (nValue & SQL_CU_TABLE_DEFINITION) == SQL_CU_TABLE_DEFINITION; in impl_supportsCatalogsInTableDefinitions_throw()
707 SQLUINTEGER nValue=0; in supportsCatalogsInIndexDefinitions() local
709 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_USAGE,nValue,*this); in supportsCatalogsInIndexDefinitions()
710 return (nValue & SQL_CU_INDEX_DEFINITION) == SQL_CU_INDEX_DEFINITION; in supportsCatalogsInIndexDefinitions()
715 SQLUINTEGER nValue=0; in impl_supportsCatalogsInDataManipulation_throw() local
717 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_USAGE,nValue,*this); in impl_supportsCatalogsInDataManipulation_throw()
718 return (nValue & SQL_CU_DML_STATEMENTS) == SQL_CU_DML_STATEMENTS; in impl_supportsCatalogsInDataManipulation_throw()
723 SQLUINTEGER nValue; in supportsOuterJoins() local
724 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_OJ_CAPABILITIES,nValue,*this); in supportsOuterJoins()
725 …return ((nValue & (SQL_OJ_FULL|SQL_OJ_LEFT|SQL_OJ_RIGHT|SQL_OJ_NESTED|SQL_OJ_NOT_ORDERED|SQL_OJ_AL… in supportsOuterJoins()
745 SQLUINTEGER nValue = 0; in getTableTypes() local
748 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CREATE_VIEW,nValue,*this); in getTableTypes()
753 sal_Bool bViewsSupported = (nValue & SQL_CV_CREATE_VIEW) == SQL_CV_CREATE_VIEW; in getTableTypes()
771 SQLUSMALLINT nValue; in impl_getMaxStatements_throw() local
772 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_CONCURRENT_ACTIVITIES,nValue,*this); in impl_getMaxStatements_throw()
773 return nValue; in impl_getMaxStatements_throw()
778 SQLUSMALLINT nValue; in getMaxProcedureNameLength() local
779 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_PROCEDURE_NAME_LEN,nValue,*this); in getMaxProcedureNameLength()
780 return nValue; in getMaxProcedureNameLength()
785 SQLUSMALLINT nValue; in getMaxSchemaNameLength() local
786 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_SCHEMA_NAME_LEN,nValue,*this); in getMaxSchemaNameLength()
787 return nValue; in getMaxSchemaNameLength()
792 SQLUSMALLINT nValue; in supportsTransactions() local
793 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TXN_CAPABLE,nValue,*this); in supportsTransactions()
794 return nValue != SQL_TC_NONE; in supportsTransactions()
813 SQLUINTEGER nValue; in supportsSelectForUpdate() local
814 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_DYNAMIC_CURSOR_ATTRIBUTES1,nValue,*this); in supportsSelectForUpdate()
815 return (nValue & SQL_CA1_POSITIONED_UPDATE) == SQL_CA1_POSITIONED_UPDATE; in supportsSelectForUpdate()
832 SQLUSMALLINT nValue; in usesLocalFiles() local
833 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_FILE_USAGE,nValue,*this); in usesLocalFiles()
834 return nValue == SQL_FILE_CATALOG; in usesLocalFiles()
839 SQLUSMALLINT nValue; in usesLocalFilePerTable() local
840 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_FILE_USAGE,nValue,*this); in usesLocalFilePerTable()
841 return nValue == SQL_FILE_TABLE; in usesLocalFilePerTable()
846 SQLUINTEGER nValue; in supportsTypeConversion() local
847 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_FUNCTIONS,nValue,*this); in supportsTypeConversion()
848 return (nValue & SQL_FN_CVT_CONVERT) == SQL_FN_CVT_CONVERT; in supportsTypeConversion()
853 SQLUSMALLINT nValue; in nullPlusNonNullIsNull() local
854 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONCAT_NULL_BEHAVIOR,nValue,*this); in nullPlusNonNullIsNull()
855 return nValue == SQL_CB_NULL; in nullPlusNonNullIsNull()
867 SQLUSMALLINT nValue; in supportsTableCorrelationNames() local
868 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CORRELATION_NAME,nValue,*this); in supportsTableCorrelationNames()
869 return nValue != SQL_CN_NONE; in supportsTableCorrelationNames()
877 SQLUINTEGER nValue=0; in supportsConvert() local
881 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_BIT,nValue,*this); in supportsConvert()
884 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_TINYINT,nValue,*this); in supportsConvert()
887 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_SMALLINT,nValue,*this); in supportsConvert()
890 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_INTEGER,nValue,*this); in supportsConvert()
893 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_BIGINT,nValue,*this); in supportsConvert()
896 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_FLOAT,nValue,*this); in supportsConvert()
899 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_REAL,nValue,*this); in supportsConvert()
902 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_DOUBLE,nValue,*this); in supportsConvert()
905 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_NUMERIC,nValue,*this); in supportsConvert()
908 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_DECIMAL,nValue,*this); in supportsConvert()
911 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_CHAR,nValue,*this); in supportsConvert()
914 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_VARCHAR,nValue,*this); in supportsConvert()
918 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_LONGVARCHAR,nValue,*this); in supportsConvert()
921 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_DATE,nValue,*this); in supportsConvert()
924 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_TIME,nValue,*this); in supportsConvert()
927 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_TIMESTAMP,nValue,*this); in supportsConvert()
930 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_BINARY,nValue,*this); in supportsConvert()
933 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_VARBINARY,nValue,*this); in supportsConvert()
937 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CONVERT_LONGVARBINARY,nValue,*this); in supportsConvert()
965 bConvert = (nValue & SQL_CVT_BIT) == SQL_CVT_BIT; in supportsConvert()
968 bConvert = (nValue & SQL_CVT_TINYINT) == SQL_CVT_TINYINT; in supportsConvert()
971 bConvert = (nValue & SQL_CVT_SMALLINT) == SQL_CVT_SMALLINT; in supportsConvert()
974 bConvert = (nValue & SQL_CVT_INTEGER) == SQL_CVT_INTEGER; in supportsConvert()
977 bConvert = (nValue & SQL_CVT_BIGINT) == SQL_CVT_BIGINT; in supportsConvert()
980 bConvert = (nValue & SQL_CVT_FLOAT) == SQL_CVT_FLOAT; in supportsConvert()
983 bConvert = (nValue & SQL_CVT_REAL) == SQL_CVT_REAL; in supportsConvert()
986 bConvert = (nValue & SQL_CVT_DOUBLE) == SQL_CVT_DOUBLE; in supportsConvert()
989 bConvert = (nValue & SQL_CVT_NUMERIC) == SQL_CVT_NUMERIC; in supportsConvert()
992 bConvert = (nValue & SQL_CVT_DECIMAL) == SQL_CVT_DECIMAL; in supportsConvert()
995 bConvert = (nValue & SQL_CVT_CHAR) == SQL_CVT_CHAR; in supportsConvert()
998 bConvert = (nValue & SQL_CVT_VARCHAR) == SQL_CVT_VARCHAR; in supportsConvert()
1002 bConvert = (nValue & SQL_CVT_LONGVARCHAR) == SQL_CVT_LONGVARCHAR; in supportsConvert()
1005 bConvert = (nValue & SQL_CVT_DATE) == SQL_CVT_DATE; in supportsConvert()
1008 bConvert = (nValue & SQL_CVT_TIME) == SQL_CVT_TIME; in supportsConvert()
1011 bConvert = (nValue & SQL_CVT_TIMESTAMP) == SQL_CVT_TIMESTAMP; in supportsConvert()
1014 bConvert = (nValue & SQL_CVT_BINARY) == SQL_CVT_BINARY; in supportsConvert()
1017 bConvert = (nValue & SQL_CVT_VARBINARY) == SQL_CVT_VARBINARY; in supportsConvert()
1021 bConvert = (nValue & SQL_CVT_LONGVARBINARY) == SQL_CVT_LONGVARBINARY; in supportsConvert()
1037 SQLUSMALLINT nValue; in supportsGroupBy() local
1038 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_GROUP_BY,nValue,*this); in supportsGroupBy()
1039 return nValue != SQL_GB_NOT_SUPPORTED; in supportsGroupBy()
1044 SQLUSMALLINT nValue; in supportsGroupByBeyondSelect() local
1045 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_GROUP_BY,nValue,*this); in supportsGroupByBeyondSelect()
1046 return nValue != SQL_GB_GROUP_BY_CONTAINS_SELECT; in supportsGroupByBeyondSelect()
1051 SQLUSMALLINT nValue; in supportsGroupByUnrelated() local
1052 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_GROUP_BY,nValue,*this); in supportsGroupByUnrelated()
1053 return nValue == SQL_GB_NO_RELATION; in supportsGroupByUnrelated()
1086 SQLUINTEGER nValue; in supportsUnion() local
1087 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_UNION,nValue,*this); in supportsUnion()
1088 return (nValue & SQL_U_UNION) == SQL_U_UNION; in supportsUnion()
1093 SQLUINTEGER nValue; in supportsUnionAll() local
1094 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_UNION,nValue,*this); in supportsUnionAll()
1095 return (nValue & SQL_U_UNION_ALL) == SQL_U_UNION_ALL; in supportsUnionAll()
1100 SQLUSMALLINT nValue; in supportsMixedCaseIdentifiers() local
1101 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_IDENTIFIER_CASE,nValue,*this); in supportsMixedCaseIdentifiers()
1102 return nValue == SQL_IC_MIXED; in supportsMixedCaseIdentifiers()
1107 SQLUSMALLINT nValue; in impl_supportsMixedCaseQuotedIdentifiers_throw() local
1108 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_QUOTED_IDENTIFIER_CASE,nValue,*this); in impl_supportsMixedCaseQuotedIdentifiers_throw()
1109 return nValue == SQL_IC_MIXED; in impl_supportsMixedCaseQuotedIdentifiers_throw()
1114 SQLUSMALLINT nValue; in nullsAreSortedAtEnd() local
1115 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_NULL_COLLATION,nValue,*this); in nullsAreSortedAtEnd()
1116 return nValue == SQL_NC_END; in nullsAreSortedAtEnd()
1121 SQLUSMALLINT nValue; in nullsAreSortedAtStart() local
1122 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_NULL_COLLATION,nValue,*this); in nullsAreSortedAtStart()
1123 return nValue == SQL_NC_START; in nullsAreSortedAtStart()
1128 SQLUSMALLINT nValue; in nullsAreSortedHigh() local
1129 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_NULL_COLLATION,nValue,*this); in nullsAreSortedHigh()
1130 return nValue == SQL_NC_HIGH; in nullsAreSortedHigh()
1135 SQLUSMALLINT nValue; in nullsAreSortedLow() local
1136 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_NULL_COLLATION,nValue,*this); in nullsAreSortedLow()
1137 return nValue == SQL_NC_LOW; in nullsAreSortedLow()
1142 SQLUINTEGER nValue; in supportsSchemasInProcedureCalls() local
1143 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SCHEMA_USAGE,nValue,*this); in supportsSchemasInProcedureCalls()
1144 return (nValue & SQL_SU_PROCEDURE_INVOCATION) == SQL_SU_PROCEDURE_INVOCATION; in supportsSchemasInProcedureCalls()
1149 SQLUINTEGER nValue; in supportsSchemasInPrivilegeDefinitions() local
1150 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SCHEMA_USAGE,nValue,*this); in supportsSchemasInPrivilegeDefinitions()
1151 return (nValue & SQL_SU_PRIVILEGE_DEFINITION) == SQL_SU_PRIVILEGE_DEFINITION; in supportsSchemasInPrivilegeDefinitions()
1156 SQLUINTEGER nValue=0; in supportsCatalogsInProcedureCalls() local
1158 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_USAGE,nValue,*this); in supportsCatalogsInProcedureCalls()
1159 return (nValue & SQL_CU_PROCEDURE_INVOCATION) == SQL_CU_PROCEDURE_INVOCATION; in supportsCatalogsInProcedureCalls()
1164 SQLUINTEGER nValue=0; in supportsCatalogsInPrivilegeDefinitions() local
1166 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CATALOG_USAGE,nValue,*this); in supportsCatalogsInPrivilegeDefinitions()
1167 return (nValue & SQL_CU_PRIVILEGE_DEFINITION) == SQL_CU_PRIVILEGE_DEFINITION; in supportsCatalogsInPrivilegeDefinitions()
1172 SQLUINTEGER nValue; in supportsCorrelatedSubqueries() local
1173 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SUBQUERIES,nValue,*this); in supportsCorrelatedSubqueries()
1174 return (nValue & SQL_SQ_CORRELATED_SUBQUERIES) == SQL_SQ_CORRELATED_SUBQUERIES; in supportsCorrelatedSubqueries()
1179 SQLUINTEGER nValue; in supportsSubqueriesInComparisons() local
1180 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SUBQUERIES,nValue,*this); in supportsSubqueriesInComparisons()
1181 return (nValue & SQL_SQ_COMPARISON) == SQL_SQ_COMPARISON; in supportsSubqueriesInComparisons()
1186 SQLUINTEGER nValue; in supportsSubqueriesInExists() local
1187 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SUBQUERIES,nValue,*this); in supportsSubqueriesInExists()
1188 return (nValue & SQL_SQ_EXISTS) == SQL_SQ_EXISTS; in supportsSubqueriesInExists()
1193 SQLUINTEGER nValue; in supportsSubqueriesInIns() local
1194 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SUBQUERIES,nValue,*this); in supportsSubqueriesInIns()
1195 return (nValue & SQL_SQ_IN) == SQL_SQ_IN; in supportsSubqueriesInIns()
1200 SQLUINTEGER nValue; in supportsSubqueriesInQuantifieds() local
1201 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SUBQUERIES,nValue,*this); in supportsSubqueriesInQuantifieds()
1202 return (nValue & SQL_SQ_QUANTIFIED) == SQL_SQ_QUANTIFIED; in supportsSubqueriesInQuantifieds()
1207 SQLUINTEGER nValue; in supportsANSI92IntermediateSQL() local
1208 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SQL_CONFORMANCE,nValue,*this); in supportsANSI92IntermediateSQL()
1209 return nValue == SQL_SC_SQL92_INTERMEDIATE; in supportsANSI92IntermediateSQL()
1288 SQLUINTEGER nValue; in getDefaultTransactionIsolation() local
1289 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SUBQUERIES,nValue,*this); in getDefaultTransactionIsolation()
1290 return nValue; in getDefaultTransactionIsolation()
1316 SQLUINTEGER nValue; in getStringFunctions() local
1318 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_STRING_FUNCTIONS,nValue,*this); in getStringFunctions()
1319 if(nValue & SQL_FN_STR_ASCII) in getStringFunctions()
1321 if(nValue & SQL_FN_STR_BIT_LENGTH) in getStringFunctions()
1323 if(nValue & SQL_FN_STR_CHAR) in getStringFunctions()
1325 if(nValue & SQL_FN_STR_CHAR_LENGTH) in getStringFunctions()
1327 if(nValue & SQL_FN_STR_CHARACTER_LENGTH) in getStringFunctions()
1329 if(nValue & SQL_FN_STR_CONCAT) in getStringFunctions()
1331 if(nValue & SQL_FN_STR_DIFFERENCE) in getStringFunctions()
1333 if(nValue & SQL_FN_STR_INSERT) in getStringFunctions()
1335 if(nValue & SQL_FN_STR_LCASE) in getStringFunctions()
1337 if(nValue & SQL_FN_STR_LEFT) in getStringFunctions()
1339 if(nValue & SQL_FN_STR_LENGTH) in getStringFunctions()
1341 if(nValue & SQL_FN_STR_LOCATE) in getStringFunctions()
1343 if(nValue & SQL_FN_STR_LOCATE_2) in getStringFunctions()
1345 if(nValue & SQL_FN_STR_LTRIM) in getStringFunctions()
1347 if(nValue & SQL_FN_STR_OCTET_LENGTH) in getStringFunctions()
1349 if(nValue & SQL_FN_STR_POSITION) in getStringFunctions()
1351 if(nValue & SQL_FN_STR_REPEAT) in getStringFunctions()
1353 if(nValue & SQL_FN_STR_REPLACE) in getStringFunctions()
1355 if(nValue & SQL_FN_STR_RIGHT) in getStringFunctions()
1357 if(nValue & SQL_FN_STR_RTRIM) in getStringFunctions()
1359 if(nValue & SQL_FN_STR_SOUNDEX) in getStringFunctions()
1361 if(nValue & SQL_FN_STR_SPACE) in getStringFunctions()
1363 if(nValue & SQL_FN_STR_SUBSTRING) in getStringFunctions()
1365 if(nValue & SQL_FN_STR_UCASE) in getStringFunctions()
1377 SQLUINTEGER nValue; in getTimeDateFunctions() local
1379 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_TIMEDATE_FUNCTIONS,nValue,*this); in getTimeDateFunctions()
1381 if(nValue & SQL_FN_TD_CURRENT_DATE) in getTimeDateFunctions()
1383 if(nValue & SQL_FN_TD_CURRENT_TIME) in getTimeDateFunctions()
1385 if(nValue & SQL_FN_TD_CURRENT_TIMESTAMP) in getTimeDateFunctions()
1387 if(nValue & SQL_FN_TD_CURDATE) in getTimeDateFunctions()
1389 if(nValue & SQL_FN_TD_CURTIME) in getTimeDateFunctions()
1391 if(nValue & SQL_FN_TD_DAYNAME) in getTimeDateFunctions()
1393 if(nValue & SQL_FN_TD_DAYOFMONTH) in getTimeDateFunctions()
1395 if(nValue & SQL_FN_TD_DAYOFWEEK) in getTimeDateFunctions()
1397 if(nValue & SQL_FN_TD_DAYOFYEAR) in getTimeDateFunctions()
1399 if(nValue & SQL_FN_TD_EXTRACT) in getTimeDateFunctions()
1401 if(nValue & SQL_FN_TD_HOUR) in getTimeDateFunctions()
1403 if(nValue & SQL_FN_TD_MINUTE) in getTimeDateFunctions()
1405 if(nValue & SQL_FN_TD_MONTH) in getTimeDateFunctions()
1407 if(nValue & SQL_FN_TD_MONTHNAME) in getTimeDateFunctions()
1409 if(nValue & SQL_FN_TD_NOW) in getTimeDateFunctions()
1411 if(nValue & SQL_FN_TD_QUARTER) in getTimeDateFunctions()
1413 if(nValue & SQL_FN_TD_SECOND) in getTimeDateFunctions()
1415 if(nValue & SQL_FN_TD_TIMESTAMPADD) in getTimeDateFunctions()
1417 if(nValue & SQL_FN_TD_TIMESTAMPDIFF) in getTimeDateFunctions()
1419 if(nValue & SQL_FN_TD_WEEK) in getTimeDateFunctions()
1421 if(nValue & SQL_FN_TD_YEAR) in getTimeDateFunctions()
1432 SQLUINTEGER nValue; in getSystemFunctions() local
1434 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_SYSTEM_FUNCTIONS,nValue,*this); in getSystemFunctions()
1436 if(nValue & SQL_FN_SYS_DBNAME) in getSystemFunctions()
1438 if(nValue & SQL_FN_SYS_IFNULL) in getSystemFunctions()
1440 if(nValue & SQL_FN_SYS_USERNAME) in getSystemFunctions()
1451 SQLUINTEGER nValue; in getNumericFunctions() local
1453 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_NUMERIC_FUNCTIONS,nValue,*this); in getNumericFunctions()
1455 if(nValue & SQL_FN_NUM_ABS) in getNumericFunctions()
1457 if(nValue & SQL_FN_NUM_ACOS) in getNumericFunctions()
1459 if(nValue & SQL_FN_NUM_ASIN) in getNumericFunctions()
1461 if(nValue & SQL_FN_NUM_ATAN) in getNumericFunctions()
1463 if(nValue & SQL_FN_NUM_ATAN2) in getNumericFunctions()
1465 if(nValue & SQL_FN_NUM_CEILING) in getNumericFunctions()
1467 if(nValue & SQL_FN_NUM_COS) in getNumericFunctions()
1469 if(nValue & SQL_FN_NUM_COT) in getNumericFunctions()
1471 if(nValue & SQL_FN_NUM_DEGREES) in getNumericFunctions()
1473 if(nValue & SQL_FN_NUM_EXP) in getNumericFunctions()
1475 if(nValue & SQL_FN_NUM_FLOOR) in getNumericFunctions()
1477 if(nValue & SQL_FN_NUM_LOG) in getNumericFunctions()
1479 if(nValue & SQL_FN_NUM_LOG10) in getNumericFunctions()
1481 if(nValue & SQL_FN_NUM_MOD) in getNumericFunctions()
1483 if(nValue & SQL_FN_NUM_PI) in getNumericFunctions()
1485 if(nValue & SQL_FN_NUM_POWER) in getNumericFunctions()
1487 if(nValue & SQL_FN_NUM_RADIANS) in getNumericFunctions()
1489 if(nValue & SQL_FN_NUM_RAND) in getNumericFunctions()
1491 if(nValue & SQL_FN_NUM_ROUND) in getNumericFunctions()
1493 if(nValue & SQL_FN_NUM_SIGN) in getNumericFunctions()
1495 if(nValue & SQL_FN_NUM_SIN) in getNumericFunctions()
1497 if(nValue & SQL_FN_NUM_SQRT) in getNumericFunctions()
1499 if(nValue & SQL_FN_NUM_TAN) in getNumericFunctions()
1501 if(nValue & SQL_FN_NUM_TRUNCATE) in getNumericFunctions()
1512 SQLUINTEGER nValue; in supportsExtendedSQLGrammar() local
1515 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ODBC_INTERFACE_CONFORMANCE,nValue,*this); in supportsExtendedSQLGrammar()
1516 return nValue == SQL_OIC_LEVEL2; in supportsExtendedSQLGrammar()
1520 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ODBC_INTERFACE_CONFORMANCE,nValue,*this); in supportsExtendedSQLGrammar()
1521 return nValue == SQL_OAC_LEVEL2; in supportsExtendedSQLGrammar()
1527 SQLUINTEGER nValue; in supportsCoreSQLGrammar() local
1530 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ODBC_INTERFACE_CONFORMANCE,nValue,*this); in supportsCoreSQLGrammar()
1531 return nValue == SQL_OIC_CORE || nValue == SQL_OIC_LEVEL2 || nValue == SQL_OIC_LEVEL1; in supportsCoreSQLGrammar()
1535 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ODBC_SQL_CONFORMANCE,nValue,*this); in supportsCoreSQLGrammar()
1536 return nValue == SQL_OSC_CORE || nValue == SQL_OAC_LEVEL1 || nValue == SQL_OAC_LEVEL2; in supportsCoreSQLGrammar()
1542 SQLUINTEGER nValue; in supportsMinimumSQLGrammar() local
1545 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ODBC_INTERFACE_CONFORMANCE,nValue,*this); in supportsMinimumSQLGrammar()
1546 return nValue == SQL_OIC_LEVEL1 || nValue == SQL_OIC_LEVEL2; in supportsMinimumSQLGrammar()
1550 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_ODBC_INTERFACE_CONFORMANCE,nValue,*this); in supportsMinimumSQLGrammar()
1551 return nValue == SQL_OAC_LEVEL1 || nValue == SQL_OAC_LEVEL2; in supportsMinimumSQLGrammar()
1557 SQLUINTEGER nValue; in supportsFullOuterJoins() local
1558 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_OJ_CAPABILITIES,nValue,*this); in supportsFullOuterJoins()
1559 return (nValue & SQL_OJ_FULL) == SQL_OJ_FULL; in supportsFullOuterJoins()
1569 SQLUSMALLINT nValue; in getMaxColumnsInGroupBy() local
1570 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_COLUMNS_IN_GROUP_BY,nValue,*this); in getMaxColumnsInGroupBy()
1571 return nValue; in getMaxColumnsInGroupBy()
1576 SQLUSMALLINT nValue; in getMaxColumnsInOrderBy() local
1577 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_COLUMNS_IN_ORDER_BY,nValue,*this); in getMaxColumnsInOrderBy()
1578 return nValue; in getMaxColumnsInOrderBy()
1583 SQLUSMALLINT nValue; in getMaxColumnsInSelect() local
1584 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_COLUMNS_IN_SELECT,nValue,*this); in getMaxColumnsInSelect()
1585 return nValue; in getMaxColumnsInSelect()
1590 SQLUSMALLINT nValue; in getMaxUserNameLength() local
1591 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_MAX_USER_NAME_LEN,nValue,*this); in getMaxUserNameLength()
1592 return nValue; in getMaxUserNameLength()
1597 SQLUINTEGER nValue; in supportsResultSetType() local
1598 OTools::GetInfo(m_pConnection,m_aConnectionHandle,SQL_CURSOR_SENSITIVITY,nValue,*this); in supportsResultSetType()
1599 return (nValue & static_cast<SQLUINTEGER>(setType)) == static_cast<SQLUINTEGER>(setType); in supportsResultSetType()
1604 SQLUINTEGER nValue; in supportsResultSetConcurrency() local
1620 OTools::GetInfo(m_pConnection,m_aConnectionHandle,nAskFor,nValue,*this); in supportsResultSetConcurrency()
1625 bRet = (nValue & SQL_CA2_READ_ONLY_CONCURRENCY) == SQL_CA2_READ_ONLY_CONCURRENCY; in supportsResultSetConcurrency()
1628 bRet = (nValue & SQL_CA2_OPT_VALUES_CONCURRENCY) == SQL_CA2_OPT_VALUES_CONCURRENCY; in supportsResultSetConcurrency()
1636 SQLUINTEGER nValue; in ownUpdatesAreVisible() local
1652 OTools::GetInfo(m_pConnection,m_aConnectionHandle,nAskFor,nValue,*this); in ownUpdatesAreVisible()
1653 return (nValue & SQL_CA2_SENSITIVITY_UPDATES) == SQL_CA2_SENSITIVITY_UPDATES; in ownUpdatesAreVisible()
1658 SQLUINTEGER nValue; in ownDeletesAreVisible() local
1674 OTools::GetInfo(m_pConnection,m_aConnectionHandle,nAskFor,nValue,*this); in ownDeletesAreVisible()
1675 return (nValue & SQL_CA2_SENSITIVITY_DELETIONS) != SQL_CA2_SENSITIVITY_DELETIONS; in ownDeletesAreVisible()
1680 SQLUINTEGER nValue; in ownInsertsAreVisible() local
1696 OTools::GetInfo(m_pConnection,m_aConnectionHandle,nAskFor,nValue,*this); in ownInsertsAreVisible()
1697 return (nValue & SQL_CA2_SENSITIVITY_ADDITIONS) == SQL_CA2_SENSITIVITY_ADDITIONS; in ownInsertsAreVisible()