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.111 by aga4096, Mon Sep 26 02:24:34 2005 UTC revision 1.112 by aga4096, Fri Oct 7 06:22:46 2005 UTC
# Line 22  Line 22 
22   *   *
23   * $Revision$   * $Revision$
24   * $Log$   * $Log$
25     * Revision 1.112  2005/10/07 06:22:46  aga4096
26     * ・updateAccount()がエラーを出すことがあるのを修正.
27     *
28   * Revision 1.111  2005/09/26 02:24:34  aga4096   * Revision 1.111  2005/09/26 02:24:34  aga4096
29   * ・isAdmin()が誤動作するのを修正.   * ・isAdmin()が誤動作するのを修正.
30   *   *
# Line 2032  result_t updateAccount( sessionid_t sid, Line 2035  result_t updateAccount( sessionid_t sid,
2035                            
2036              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){
2037                  SQLLEN count = 0;                  SQLLEN count = 0;
2038                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS && count > 0 ){                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS ){
2039                      ret = RES_OK;                      ret = RES_OK;
2040                  }else{                  }else{
2041                      string s( "SQLRowCount in updateAccount sql=" );                      string s( "SQLRowCount in updateAccount sql=" );
# Line 2111  result_t updateAccount( sessionid_t sid, Line 2114  result_t updateAccount( sessionid_t sid,
2114                            
2115              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){              if( ( sqlcode = SQLExecute( hstmt ) ) == SQL_SUCCESS ){
2116                  SQLLEN count = 0;                  SQLLEN count = 0;
2117                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS && count > 0 ){                  if( ( sqlcode = SQLRowCount( hstmt, &count ) ) == SQL_SUCCESS ){
2118                      ret = RES_OK;                      ret = RES_OK;
2119                  }else{                  }else{
2120                      string s( "SQLRowCount in updateAccount sql=" );                      string s( "SQLRowCount in updateAccount sql=" );

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

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