Ignore:
Timestamp:
2007-04-18T10:08:14+12:00 (17 years ago)
Author:
qq6
Message:

added a method to close the database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/userdb.cpp

    r13844 r14013  
    335335  return ERRNO_CONNECTIONFAILED;
    336336}
     337
     338//an alernative way to colse the database if the class can't reach the destructor
     339void userdbclass::closedatabase()
     340{
     341   userdb.closedatabase();
     342}
     343
    337344//==========================================//
    338345//       userdbclass functions (End)        //
     
    470477    }
    471478}
     479
     480//an alernative way to colse the database if the class can't reach the destructor
     481void keydbclass::closedatabase()
     482{
     483   keydb.closedatabase();
     484}
    472485//==========================================//
    473486//       keydbclass functions (End)         //
Note: See TracChangeset for help on using the changeset viewer.