Ignore:
Timestamp:
1999-09-01T10:40:44+12:00 (25 years ago)
Author:
rjmcnab
Message:

A couple of gdbm changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mggdbmsource.cpp

    r460 r496  
    1212/*
    1313   $Log$
     14   Revision 1.14  1999/08/31 22:40:44  rjmcnab
     15   A couple of gdbm changes.
     16
    1417   Revision 1.13  1999/08/13 04:20:27  sjboddie
    1518   added ability to get return all available metadata when 'fields' is empty
     
    148151  // open the database
    149152  gdbmptr->setlogout(&logout);
    150   if (!gdbmptr->opendatabase (gdbm_filename)) {
     153  if (!gdbmptr->opendatabase (gdbm_filename, GDBM_READER, 100, false)) {
    151154    // most likely a system problem (we have already checked that the
    152155    // gdbm database exists)
     
    181184  // open the database
    182185  gdbmptr->setlogout(&logout);
    183   if (!gdbmptr->opendatabase (gdbm_filename)) {
     186  if (!gdbmptr->opendatabase (gdbm_filename, GDBM_READER, 100, false)) {
    184187    // most likely a system problem (we have already checked that the
    185188    // gdbm database exists)
     
    331334  // open the database
    332335  gdbmptr->setlogout(&logout);
    333   if (!gdbmptr->opendatabase (gdbm_filename)) {
     336  if (!gdbmptr->opendatabase (gdbm_filename, GDBM_READER, 100, false)) {
    334337    // most likely a system problem (we have already checked that the
    335338    // gdbm database exists)
Note: See TracChangeset for help on using the changeset viewer.