[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of GNATSDB
From: |
Lars Henriksen |
Subject: |
Re: use of GNATSDB |
Date: |
Fri, 17 May 2002 14:03:08 +0200 |
User-agent: |
Mutt/1.3.25i |
On Wed, Mar 27, 2002 at 07:21:11PM -0800, Mel Hatzis wrote:
> I'm trying to setup a separate database instance by adding a line
> into the share/gnats/databases file and setting the GNATSDB env
> variable to point to it. I can successfully 'telnet localhost port#'
> and, say, lockdb, but when I try using pr-edit it ends up locking
> the default database.
I can't reproduce this behaviour. Whether GNATSDB is set or not, the command
"pr-edit --lockdb" seems to lock nothing at all. Neither does "pr-edit
--database=<db> --lockdb". On the other hand, "pr-edit --lock <user> <PR>"
honors GNATSDB as well as the --database option.
> Grokking through the code, I find that client_init_gnats
> in client.c is invoking 'chdb default' because the scanenv function
> always sets database to 'default' during initialization.
There must be more to it than that, but I haven't yet been able to figure out
what.
Lars Henriksen