[Charlug] Berkeley DB problem
Jason Edgecombe
jason at rampaginggeek.com
Tue Aug 14 11:40:55 EDT 2007
C. Michael Pilato wrote:
> Pierre Abbat wrote:
>
>> I remember someone here knows Berkeley, but I don't remember who. The program
>> I'm writing now reads a database and shows it on the screen and I can page up
>> and down through it. If I start a second copy of the program, the first one
>> reads blanks, and continues reading blanks after the second copy exits. I'd
>> like to be able to delete a record (which is currently the only way I can
>> change the db) in one instance of the program, and see it vanish from the
>> other.
>>
>
> I'm familiar with aspects of Berkeley DB, namely those employed by
> Subversion in its use of Berkeley DB as a backend version-control data
> store. I'm not able to conjure a guess as to what's going on here, though,
> given what little info you've provided.
>
> Got source code?
>
>
I'm guessing that only one program can open the file at once. It's
probably an exclusive access thing. I don't know if Berkeley can do
simultaneous access.
Jason
More information about the CharLUG
mailing list