[odb-users] another test from odb-tests-2.1.1 fails with mariadb-5.5.28a

Boris Kolpackov boris at codesynthesis.com
Thu Jan 31 07:55:38 EST 2013


Hi Hugo,

Hugo.Mildenberger at web.de <Hugo.Mildenberger at web.de> writes:

> MariaDB [test]> select * from boost_mysql_dt_object_times;
> +-----------+-------+---------------------+
> | object_id | index | value               |
> +-----------+-------+---------------------+
> |         1 |     0 | 0000-00-00 00:00:00 |
> |         1 |     1 | NULL                |
> |         1 |     2 | 0000-00-00 00:00:00 |
> |         1 |     3 | 0000-00-00 00:00:00 |
> +-----------+-------+---------------------+

Yes, these value are definitely bogus. For some reason MariaDB cannot
store date-time values the same way as MySQL can (i.e., via the
MYSQL_TIME struct).

I looked around MariaDB website but couldn't find any documentation
for the C API (do they expect people to just use MySQL's manual?).
They also say "MariaDB is a binary drop in replacement for MySQL".
Hm, apparently not.

Have you tried it with MariaDB 5.1?

Boris



More information about the odb-users mailing list