Show
Ignore:
Timestamp:
09.05.2016 16:53:48 (4 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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/DBDrivers/BaseDBDriver.pm

    r30370 r30517  
    5757    $self->{'supports_persistentconnection'} = 0; 
    5858    $self->{'supports_rss'} = 0; 
     59    $self->{'supports_concurrent_read_and_write'} = 0; 
    5960    $self->{'supports_set'} = 0; 
    6061    $self->{'write_only'} = 0; # Some drivers are one way - i.e. STDOUTXML 
     
    383384 
    384385 
     386## @function supportsConcurrentReadAndWrite(void)  => integer 
     387# 
     388sub supportsConcurrentReadAndWrite  
     389{ 
     390    my $self = shift(@_); 
     391    return $self->{'supports_concurrent_read_and_write'}; 
     392} 
     393## supportsConcurrentReadAndWrite(void) => integer ## 
     394 
     395 
    385396## @function supportsSet(void) => integer 
    386397#