Re: Find current database name from db handle

2008-02-07 Thread Kostas Chatzikokolakis
> > >> I'm using a dbi handle that is shared between many packages in my > > >> code. Some package might do a "USE db_name" to change the current > > >> database of the connection. Can I retrieve the current database name > > >> from the handle, either from DBI or from the DBD::mysql driver > > >>

Re: Find current database name from db handle

2008-02-05 Thread Peter J. Holzer
On 2008-02-04 15:23:26 +0100, Kostas Chatzikokolakis wrote: > >> I'm using a dbi handle that is shared between many packages in my > >> code. Some package might do a "USE db_name" to change the current > >> database of the connection. Can I retrieve the current database name > >> from the handle, e

Re: Find current database name from db handle

2008-02-04 Thread Jonathan Leffler
On Feb 4, 2008 6:23 AM, Kostas Chatzikokolakis <[EMAIL PROTECTED]> wrote: > >> I'm using a dbi handle that is shared between many packages in my > >> code. Some package might do a "USE db_name" to change the current > >> database of the connection. Can I retrieve the current database name > >> fro

Re: Find current database name from db handle

2008-02-04 Thread Kostas Chatzikokolakis
>> I'm using a dbi handle that is shared between many packages in my >> code. Some package might do a "USE db_name" to change the current >> database of the connection. Can I retrieve the current database name >> from the handle, either from DBI or from the DBD::mysql driver >> (without querying th

Re: Find current database name from db handle

2008-02-03 Thread Jonathan Leffler
On Feb 3, 2008 11:47 AM, Kostas Chatzikokolakis <[EMAIL PROTECTED]> wrote: > I'm using a dbi handle that is shared between many packages in my > code. Some package might do a "USE db_name" to change the current > database of the connection. Can I retrieve the current database name > from the handl

Find current database name from db handle

2008-02-03 Thread Kostas Chatzikokolakis
Hello, I'm using a dbi handle that is shared between many packages in my code. Some package might do a "USE db_name" to change the current database of the connection. Can I retrieve the current database name from the handle, either from DBI or from the DBD::mysql driver (without querying the serve