Ignore:
Timestamp:
2016-05-09T16:53:48+12:00 (8 years ago)
Author:
ak19
Message:

Fixing incremental-rebuild when the database is gdbm. At this point (see buildcolutils.pm), the code needs to deactivate the collection before calling make_infodatabase(), since otherwise there's a lock on the gdbm database which prevents successful incremental-rebuild and activation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/dbutil.pm

    r30489 r30517  
    532532
    533533
     534## @function supportsConcurrentReadAndWrite(string)  => boolean
     535#
     536sub supportsConcurrentReadAndWrite
     537{
     538    my $infodb_type = shift(@_);
     539    my $driver = _loadDBDriver($infodb_type);
     540    return $driver->supportsConcurrentReadAndWrite();
     541}
     542## supportsConcurrentReadAndWrite(string) => boolean ##
     543
     544
    534545## @function write_infodb_entry(string, *) => void
    535546#
Note: See TracChangeset for help on using the changeset viewer.