Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions  Download package

bool DBMSrvKnl_Session::Request ( SAPDB_Int4  nRequestLength  )  [private]

send request to kernel

private member

Definition at line 566 of file DBMSrvKnl_Session.cpp.

References SAPDBErr_MessageList::AppendNewMessage().

{
  tsp00_ErrText  pasErrtext;
  tsp01_CommErr  nCommRc;

  sqlarequest(this->nSessionHandle, 
              this->pPacket, 
              nRequestLength,
              pasErrtext,
              &nCommRc);

  if (nCommRc != commErrOk_esp01) {
    tsp00_ErrTextc       szErrtext;

    szErrtext.p2c(pasErrtext);

    SAPDBErr_MessageList oMsg(DBMSrv_DBMError(RTE), 0);
    SAPDBErr_MessageList oRTE(DBMSrv_ExtendedError(nCommRc), szErrtext.asCharp(), 0);
    oMsg.AppendNewMessage(oRTE);
    this->oMessageList = oMsg;
    return false;
  } // end if

  return true;
} // end DBMSrvKnl_Session :: Request


Generated by  Doxygen 1.6.0   Back to index