Lines Matching refs:nRet
174 SQLRETURN nRet = N3SQLCloseCursor(m_aStatementHandle); in disposing() local
175 OSL_UNUSED( nRet ); in disposing()
191 SQLRETURN nRet = 0; in unbind() local
193 nRet = N3SQLFreeStmt(m_aStatementHandle,SQL_UNBIND); in unbind()
257 return nRet; in unbind()
429 sal_Int8 nRet(0); in getByte() local
430 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_TINYINT,&nRet,sizeof nRet); in getByte()
431 return (&aValue == &m_aEmptyValue) ? nRet : (sal_Int8)aValue; in getByte()
447 Sequence< sal_Int8 > nRet; in getBytes() local
453 nRet = m_aRow[columnIndex]; in getBytes()
459 …nRet = Sequence<sal_Int8>(reinterpret_cast<const sal_Int8*>(sRet.getStr()),sizeof(sal_Unicode)*sRe… in getBytes()
462 return nRet; in getBytes()
503 double nRet(0); in getDouble() local
504 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_DOUBLE,&nRet,sizeof nRet); in getDouble()
505 return (&aValue == &m_aEmptyValue) ? nRet : (double)aValue; in getDouble()
511 float nRet(0); in getFloat() local
512 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_FLOAT,&nRet,sizeof nRet); in getFloat()
513 return (&aValue == &m_aEmptyValue) ? nRet : (float)aValue; in getFloat()
519 sal_Int32 nRet(0); in getInt() local
520 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_LONG,&nRet,sizeof nRet); in getInt()
521 return (&aValue == &m_aEmptyValue) ? nRet : (sal_Int32)aValue; in getInt()
536 sal_Int64 nRet(0); in getLong() local
539 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_SBIGINT,&nRet,sizeof nRet); in getLong()
540 return (&aValue == &m_aEmptyValue) ? nRet : (sal_Int64)aValue; in getLong()
544 nRet = getString(columnIndex).toInt64(); in getLong()
546 return nRet; in getLong()
603 sal_Int16 nRet(0); in getShort() local
604 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_SHORT,&nRet,sizeof nRet); in getShort()
605 return (&aValue == &m_aEmptyValue) ? nRet : (sal_Int16)aValue; in getShort()
615 ::rtl::OUString nRet; in getString()
617 nRet = getValue(columnIndex,0,NULL,0); in getString()
622 …nRet = OTools::getStringValue(m_pStatement->getOwnConnection(),m_aStatementHandle,columnIndex,nCol… in getString()
624 return nRet; in getString()
843 SQLRETURN nRet = N3SQLBindCol(m_aStatementHandle, in insertRow() local
855 nRet = N3SQLBulkOperations( m_aStatementHandle, SQL_ADD ); in insertRow()
856 fillNeededData( nRet ); in insertRow()
862 nRet = N3SQLSetPos( m_aStatementHandle, 1, SQL_ADD, SQL_LOCK_NO_CHANGE ); in insertRow()
863 fillNeededData( nRet ); in insertRow()
867 …OTools::ThrowException(m_pStatement->getOwnConnection(),nRet,m_aStatementHandle,SQL_HANDLE_STMT,*t… in insertRow()
871 nRet = unbind(); in insertRow()
878 …nRet = N3SQLSetStmtAttr(m_aStatementHandle,SQL_ATTR_FETCH_BOOKMARK_PTR,aBookmark.getArray(),SQL_IS… in insertRow()
880 nRet = N3SQLFetchScroll(m_aStatementHandle,SQL_FETCH_BOOKMARK,0); in insertRow()
883 nRet = N3SQLFetchScroll(m_aStatementHandle,SQL_FETCH_RELATIVE,0); // OJ 06.03.2004 in insertRow()
886 nRet = unbind(); in insertRow()
887 …OTools::ThrowException(m_pStatement->getOwnConnection(),nRet,m_aStatementHandle,SQL_HANDLE_STMT,*t… in insertRow()
916 SQLRETURN nRet; in updateRow() local
922 nRet = N3SQLBindCol(m_aStatementHandle, in updateRow()
929 fillNeededData(nRet = N3SQLBulkOperations(m_aStatementHandle, SQL_UPDATE_BY_BOOKMARK)); in updateRow()
932 fillNeededData(nRet = N3SQLSetPos(m_aStatementHandle,1,SQL_UPDATE,SQL_LOCK_NO_CHANGE)); in updateRow()
933 …OTools::ThrowException(m_pStatement->getOwnConnection(),nRet,m_aStatementHandle,SQL_HANDLE_STMT,*t… in updateRow()
935 nRet = unbind(); in updateRow()
936 OSL_ENSURE(nRet == SQL_SUCCESS,"Could not unbind the columns!"); in updateRow()
942 SQLRETURN nRet = SQL_SUCCESS; in deleteRow() local
944 nRet = N3SQLSetPos(m_aStatementHandle,1,SQL_DELETE,SQL_LOCK_NO_CHANGE); in deleteRow()
945 …OTools::ThrowException(m_pStatement->getOwnConnection(),nRet,m_aStatementHandle,SQL_HANDLE_STMT,*t… in deleteRow()
1156 …SQLRETURN nRet = N3SQLGetStmtAttr(m_aStatementHandle,SQL_ATTR_USE_BOOKMARKS,&m_nUseBookmarks,SQL_I… in getBookmark() local
1157 OSL_UNUSED( nRet ); in getBookmark()
1355 …SQLRETURN nRet = N3SQLGetStmtAttr(m_aStatementHandle,SQL_ATTR_USE_BOOKMARKS,&m_nUseBookmarks,SQL_I… in isBookmarkable() local
1356 OSL_UNUSED( nRet ); in isBookmarkable()
1656 …SQLRETURN nRet = N3SQLGetStmtAttr(m_aStatementHandle,SQL_ATTR_USE_BOOKMARKS,&m_nUseBookmarks,SQL_I… in move() local
1657 OSL_UNUSED( nRet ); in move()
1678 …SQLRETURN nRet = N3SQLGetStmtAttr(m_aStatementHandle,SQL_ATTR_ROW_NUMBER,&nValue,SQL_IS_UINTEGER,0… in getDriverPos() local
1679 OSL_UNUSED( nRet ); in getDriverPos()
1680 …OSL_TRACE( __FILE__": OResultSet::getDriverPos() = Ret = %d, RowNum = %d, RowPos = %d",nRet,nValue… in getDriverPos()
1706 SQLRETURN nRet = _nRet; in fillNeededData() local
1707 if( nRet == SQL_NEED_DATA) in fillNeededData()
1710 nRet = N3SQLParamData(m_aStatementHandle,&pColumnIndex); in fillNeededData()
1714 if (nRet != SQL_SUCCESS && nRet != SQL_SUCCESS_WITH_INFO && nRet != SQL_NEED_DATA) in fillNeededData()
1732 …nRet = N3SQLPutData (m_aStatementHandle, (SQLPOINTER)sRet.getStr(), sizeof(sal_Unicode)*sRet.getLe… in fillNeededData()
1741 nRet = N3SQLPutData (m_aStatementHandle, (SQLPOINTER)aString.getStr(), aString.getLength()); in fillNeededData()
1747 nRet = N3SQLParamData(m_aStatementHandle,&pColumnIndex); in fillNeededData()
1749 while (nRet == SQL_NEED_DATA); in fillNeededData()