Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/commonal.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.112 by aga4096, Fri Oct 7 06:22:46 2005 UTC revision 1.113 by orrisroot, Tue Oct 11 16:20:22 2005 UTC
# Line 22  Line 22 
22   *   *
23   * $Revision$   * $Revision$
24   * $Log$   * $Log$
25     * Revision 1.113  2005/10/11 16:20:22  orrisroot
26     * SQLRowCount の戻り値チェックを元にもどした.
27     *
28   * Revision 1.112  2005/10/07 06:22:46  aga4096   * Revision 1.112  2005/10/07 06:22:46  aga4096
29   * ・updateAccount()がエラーを出すことがあるのを修正.   * ・updateAccount()がエラーを出すことがあるのを修正.
30   *   *
# Line 2035  result_t updateAccount( sessionid_t sid, Line 2038  result_t updateAccount( sessionid_t sid,
2038                            
2039              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){
2040                  SQLLEN count = 0;                  SQLLEN count = 0;
2041                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS ){                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS && count > 0 ){
2042                      ret = RES_OK;                      ret = RES_OK;
2043                  }else{                  }else{
2044                      string s( "SQLRowCount in updateAccount sql=" );                      string s( "SQLRowCount in updateAccount sql=" );
# Line 2114  result_t updateAccount( sessionid_t sid, Line 2117  result_t updateAccount( sessionid_t sid,
2117                            
2118              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){
2119                  SQLLEN count = 0;                  SQLLEN count = 0;
2120                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS ){                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS && count > 0 ){
2121                      ret = RES_OK;                      ret = RES_OK;
2122                  }else{                  }else{
2123                      string s( "SQLRowCount in updateAccount sql=" );                      string s( "SQLRowCount in updateAccount sql=" );

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26