List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:December 7 2007 10:39pm
Subject:Re: linking mysql++ 2.3.2
View as plain text  
Joe Hudson wrote:
> 
> Anyway, here's the very simple additions I made.

In the future, please be aware that it's better to submit diffs against 
either the most current release or the svn version, not complete code. 
This is what is meant by "patch".  It increases the chances of the code 
applying cleanly to different versions, and it makes clear what exactly 
changed.

See the HACKERS file for details.

> also, may be another example of me doing things wrong, but I found I had to
> add this
> 
> inline int sql_cmp(const mysqlpp::DateTime &a, const mysqlpp::DateTime &b){
>     return a.compare(b);
> }
> 
> to custom.h  (via the perl script) to get the DateTime class to work as a
> key field for an SSQLS.

This is indeed useful.  It needs to be broader in the general case, 
though.  v3 will also support Date, Time, and String (nee' ColData).
Thread
linking mysql++ 2.3.2Joe Hudson1 Dec
  • Re: linking mysql++ 2.3.2Warren Young1 Dec
    • Re: linking mysql++ 2.3.2Joe Hudson1 Dec
      • Re: linking mysql++ 2.3.2Warren Young3 Dec
        • Re: linking mysql++ 2.3.2Joe Hudson4 Dec
          • Re: linking mysql++ 2.3.2Warren Young4 Dec
            • Re: linking mysql++ 2.3.2Joe Hudson7 Dec
              • Re: linking mysql++ 2.3.2Warren Young7 Dec