João Henrique Freitas writes:
> What plataform you use to test?
>
I'm running FreeBSD 6.1-RELEASE with these database engines:
mysql Ver 14.12 Distrib 5.0.51a, for portbld-freebsd6.1 (i386) using
5.0
postgres (PostgreSQL) 8.0.15
The gmake check output for mysql looks like this:
Library information:
--------------------
Current: 1
Revision: 0
Age: 1
Version string: libdbi v1.0-pre1
Driver information:
-------------------
Name: mysql
Filename: /usr/local/lib/dbd/libdbdmysql.so
Desc: MySQL database support (using libmysqlclient)
Maintainer: Mark M. Tobenkin <[EMAIL PROTECTED]>
URL: http://libdbi-drivers.sourceforge.net
Version: dbd_mysql v1.0-pre1
Compiled: Mar 7 2008
Successfully connected!
Using database engine version 50051 (numeric) and 5.0.51a (string)
Test 1: List databases:
Got result, try to access rows
information_schema allpapers alltypes jeremy latin1test
menutest mysql phptest refdb refdb1 ristest stemmat styletest test utf8test
utf8testsql
Test 2: Run driver-specific function:
mysql_get_proto_info returned: 10
and the corresponding output for pgsql is here:
[...]
Driver information:
-------------------
Name: pgsql
Filename: /usr/local/lib/dbd/libdbdpgsql.so
Desc: PostgreSQL database support (using libpq)
Maintainer: David A. Parker <[EMAIL PROTECTED]>
URL: http://libdbi-drivers.sourceforge.net
Version: dbd_pgsql v1.0-pre1
Compiled: Mar 7 2008
Successfully connected!
Using database engine version 80015 (numeric) and 8.0.15 (string)
Test 1: List databases:
Got result, try to access rows
template1 template0 stemmat roundtrip refdb alltypes
Test 2: Run driver-specific function:
PQprotocolVersion returned: 3
and sqlite3 works as well:
[...]
Driver information:
-------------------
Name: sqlite3
Filename: /usr/local/lib/dbd/libdbdsqlite3.so
Desc: SQLite3 database support (using libsqlite3)
Maintainer: Markus Hoenicka <[EMAIL PROTECTED]>
URL: http://libdbi-drivers.sourceforge.net
Version: dbd_sqlite3 v1.0-pre1
Compiled: Mar 7 2008
Successfully connected!
Using database engine version 30401 (numeric) and 3.4.1 (string)
Test 1: List databases:
Got result, try to access rows
Test 2: Run driver-specific function:
sqlite3_libversion returned: 3.4.1
However, if I run the test on a Debian Linux box:
Linux ocean 2.6.18-5-486 #1 Fri Jun 1 00:07:22 UTC 2007 i686 GNU/Linux
the tests also fail (tried with sqlite3 here). That is, we're looking
at a platform issue. I'll investigate later this week.
regards,
Markus
--
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libdbi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libdbi-users