> No, the libdbitest database does not exist on my system. So your test > obviously has to fail if this is a prerequisite. >
Do you can perform the tests? > make check should not rely on the existence of a particular database > except those which exist anyway in a default installation of a > database engine. This is what the initial_dbname setting is good for > in test_dbi.c. This database is used in all queries *before* the test > database is created, and when the test database is being deleted. All > MySQL installation have a database called mysql. Likewise, all > PostgreSQL installation have a database called template1. The > connection to these initial databases is dropped as soon as the test > database has been created, and the test program then reconnects to the > test database. See init_db() in test_dbi.c for further details. Ok, I think this is correct way and I will configure this way for Mysql and Postgresql tests. > > I don't know how DB2 and Oracle handle this. If you can't connect to a > database and create another one, how do you bootstrap a fresh > installation of these engines? Can you simply connect without > specifying a database? Or do these engines rely on external programs > to create and delete databases? In DB2 you create a 'instance' database. Inside of instance you create databases. External programs should connect to the target instance to create databases. To resolve this behavir I will recode init_db() to use initial_database for Mysql, Postgreql and others. But withi special constraints when the database engine is Db2, Oracle... To resolve this behaviour I will recode init_db() to use initial_database for Mysql, Postgreql and others. But with special constraints when the database engine is Db2, Oracle... Thanks. -- ----------------------------------------------------------- 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