Hello,

I will get freebsd 8.0 and test too.

>
> One thing which I've just noticed (even without debug printfs) is that
> initial_dbname is correctly set in ask_for_conninfo(), but it is
> apparently not used anywhere.

Yes, this is correct.

>The old test_dbi.c uses this database
> (mysql and template1 for MySQL and PostgreSQL, respectively) to
> connect in order to create the test database. If the authentication
> settings are sufficiently strict (I use the defaults of FreeBSD),
> connection attempts without specifying an existing database are bound
> to fail afaik. Could you please clarify how this is supposed to work
> in your tests?
>

With Mysql and Postgresql this operation mode is nice, works. But when
I did test with DB2 (maybe Oracle too), I can't connect to one
database and then create another database.

So I changed the default behaviour of the test framework. You need,
before run the tests, create one database to test. The test framework
only will create the schema tables.


In your environment the libdbitest database exists? If not, the test
framework will not create it. You need to create it before run the
tests.

Have you another way to solve it?

> regards,
> Markus
>
> --
> Markus Hoenicka
> markus.hoeni...@cats.de
> (Spam-protected email: replace the quadrupeds with "mhoenicka")
> http://www.mhoenicka.de
>



-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to