From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yngve Svendsen To: nobody@sourceware.cygnus.com Cc: gnats-prs@sourceware.cygnus.com Subject: Re: gnats/181: CHDB command must be issued twice in order to work Date: Mon, 23 Apr 2001 07:24:00 -0000 Message-id: <20010423142401.13584.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q2/msg00044.html List-Id: The following reply was made to PR gnats/181; it has been noted by GNATS. From: Yngve Svendsen To: gnats-gnats@sourceware.cygnus.com Cc: Subject: Re: gnats/181: CHDB command must be issued twice in order to work Date: Mon, 23 Apr 2001 16:17:29 +0200 At 13:58 23.04.2001 +0000, yngve.svendsen@clustra.com wrote: >The current Gnats 4 does not support multiple databases correctly. As the >transcript from the Gnats session below shows, the CHDB command must be >issued twice before gnatsd changes database. Temporary fix to make Gnatsweb work around this: duplicate the line reading my (@chdb_response) = client_cmd("chdb $global_prefs{'database'} $db_prefs{'user'} db_prefs{'password'}"); in gnatsweb.pl - Yngve