public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* use of GNATSDB
@ 2002-03-27 19:24 Mel Hatzis
       [not found] ` <15525.34645.542865.70528@habakuk.home.ha-schneider.de>
  2002-05-17  5:06 ` Lars Henriksen
  0 siblings, 2 replies; 10+ messages in thread
From: Mel Hatzis @ 2002-03-27 19:24 UTC (permalink / raw)
  To: help-gnats

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.

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.

My question is..."wouldn't it make more sense to do the equivalent of
'database =  getenv ("GNATSDB")' rather than blindly setting it
to 'default'?

--
Mel Hatzis
Juniper Networks Inc.


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-05-17 18:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-27 19:24 use of GNATSDB Mel Hatzis
     [not found] ` <15525.34645.542865.70528@habakuk.home.ha-schneider.de>
     [not found]   ` <3CA6046B.1060004@juniper.net>
     [not found]     ` <15528.10405.211358.551224@habakuk.home.ha-schneider.de>
2002-04-30 22:18       ` Mel Hatzis
2002-05-17  5:06 ` Lars Henriksen
2002-05-17  5:24   ` Lars Henriksen
2002-05-17  5:30     ` Lars Henriksen
2002-05-17 11:09       ` Mel Hatzis
2002-05-17 11:33         ` Lars Henriksen
2002-05-17 10:33   ` Dirk Bergstrom
2002-05-17 11:15     ` Lars Henriksen
2002-05-17 11:21       ` Dirk Bergstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).