List:MySQL++« Previous MessageNext Message »
From:Королев Илья Date:October 17 2006 7:35am
Subject:Re: Problems with timestamp
View as plain text  
> > 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
> changing it.

hm... Can you give me a example of using sql_timestamp? IMHO it can't be used 
as a real timestamp, so it really hard to me to imagine such example.

> > 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?

Is it in SVN? I'll try it


> > why DateTime isn't a descendant of Date & Time?

Let's imagine that it is. In such case I can easily truncate info about Time 
and send just a Date. May be it isn't a really common case, but it would be 
handily to me :)



PS Don't pay attention to my straightforward phrases - it just becouse of ugly 
English :)
Thread
Problems with timestampКоролев Илья16 Oct
  • Re: Problems with timestampWarren Young17 Oct
    • Re: Problems with timestampКоролев Илья17 Oct
      • Re: Problems with timestampWarren Young17 Oct
        • Re: Problems with timestampКоролев Илья17 Oct
          • Re: Problems with timestampWarren Young17 Oct
            • Re: Problems with timestampКоролев Илья17 Oct
              • Re: Problems with timestampWarren Young17 Oct
                • Re: Problems with timestampКоролев Илья17 Oct
                  • Re: Problems with timestampWarren Young18 Oct
                    • Re: Problems with timestampКоролев Илья18 Oct
                      • Re: Problems with timestampWarren Young18 Oct
                        • Re: Problems with timestampКоролев Илья24 Oct
                          • Re: Problems with timestampWarren Young24 Oct
                            • Re: Problems with timestampКоролев Илья25 Oct
                              • Re: Problems with timestampWarren Young25 Oct
                                • Re: Problems with timestampКоролев Илья20 Nov
                                  • Re: Problems with timestampWarren Young20 Nov