List:MySQL++« Previous MessageNext Message »
From:Joel Fielder Date:April 20 2007 3:02pm
Subject:Re: Differences between query constructors
View as plain text  
> No.  Query::success_ indicates more than the result of the last query.


I see the behaviour, and it makes sense.  Maybe a slight tweak to the
documentation would be in order for the sake of pedantry to make it
clear that it's the object integrity rather than whether the last query
worked.

Also, if it's indicating object integrity in the copy constructor,
success_ should presumably be based on whether there were no issues with
init as in the normal constructor?  Or maybe delete the copy constructor
and I'll quit whining :)

Joel.

Thread
Differences between query constructorsJoel Fielder20 Apr
  • Re: Differences between query constructorsWarren Young20 Apr
    • Re: Differences between query constructorsJoel Fielder20 Apr
      • Re: Differences between query constructorsWarren Young20 Apr
        • Re: Differences between query constructorsJonathan Wakely20 Apr