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.108 by tani, Thu Sep 8 05:40:21 2005 UTC revision 1.109 by aga4096, Fri Sep 9 01:29:27 2005 UTC
# Line 22  Line 22 
22   *   *
23   * $Revision$   * $Revision$
24   * $Log$   * $Log$
25     * Revision 1.109  2005/09/09 01:29:27  aga4096
26     * ・refresh_item_status, update_item_statusがエラーになることがあるのを修正.
27     *
28   * Revision 1.108  2005/09/08 05:40:21  tani   * Revision 1.108  2005/09/08 05:40:21  tani
29   * freeStringArrayを定義.   * freeStringArrayを定義.
30   * selectiveHarvesting:OAIPMHのidentifierを返す.   * selectiveHarvesting:OAIPMHのidentifierを返す.
# Line 8196  result_t updateItemStatus() Line 8199  result_t updateItemStatus()
8199                  SQLBindCol( s.getHstmt(), 1, SQL_C_ULONG, &iid       , 0, &cbIID       );                  SQLBindCol( s.getHstmt(), 1, SQL_C_ULONG, &iid       , 0, &cbIID       );
8200                  SQLBindCol( s.getHstmt(), 2, SQL_C_ULONG, &isDeleted , 0, &cbIsDeleted );                  SQLBindCol( s.getHstmt(), 2, SQL_C_ULONG, &isDeleted , 0, &cbIsDeleted );
8201                                    
8202                    ret = RES_OK;
8203                  while ( SQLFetch( s.getHstmt() ) == SQL_SUCCESS ){                  while ( SQLFetch( s.getHstmt() ) == SQL_SUCCESS ){
8204                      string sql;                      string sql;
8205                      if ( cbIsDeleted == SQL_NULL_DATA )                      if ( cbIsDeleted == SQL_NULL_DATA )
# Line 8226  result_t updateItemStatus() Line 8230  result_t updateItemStatus()
8230                  SQLLEN cbIID = 0;                  SQLLEN cbIID = 0;
8231                  SQLBindCol( s.getHstmt(), 1, SQL_C_ULONG, &iid       , 0, &cbIID       );                  SQLBindCol( s.getHstmt(), 1, SQL_C_ULONG, &iid       , 0, &cbIID       );
8232                                    
8233                    ret = RES_OK;
8234                  while ( SQLFetch( s.getHstmt() ) == SQL_SUCCESS ){                  while ( SQLFetch( s.getHstmt() ) == SQL_SUCCESS ){
8235                      string sql;                      string sql;
8236                      sql = "update " + dbprefix + "_xoonips_item_status "                      sql = "update " + dbprefix + "_xoonips_item_status "

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109

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