Королев Илья wrote:
> in <mysql++/sql_types.h> there are such lines
> typedef Time sql_timestamp;
> I guess it _really_ incorrect, it should be at least
> typedef DateTime sql_timestamp;
That is just historical. We can't change it without a risk of breaking
existing code. But, I have placed your proposed fix on the v3.0 section
of the Wishlist. That would be the earliest point we could contemplate
> And what about timestamp which would work as time_t?
I'm not sure what you're asking for here. My best guess is that you
want to be able to convert time_t to mysqlpp::DateTime, and use that to
fill out a MySQL TIMESTAMP column? That's already on the Wishlist for v2.2.
> Again about SSQLS and static members. I've made a version of custom.pl - which
> lives without static members, it creates custom_no_static.h and
> custom_no_static-macros.h files. I guess it may be useful.
You shouldn't need that any more with the most recent two versions of
MySQL++. Do they not solve the problem for you?
> PPS How I can include patch?
Just attach it to the email message. If you are concerned that the
patch will not go through, you can send it to me via the bug tracker on
the MySQL++ project page at Gna!: