List:MySQL++« Previous MessageNext Message »
From:Joel Fielder Date:April 20 2007 12:49pm
Subject:Differences between query constructors
View as plain text  
Hi,

Just wondered why there is a difference between the query constructors:

Query::Query(Connection* c, bool te) :
#if defined(_MSC_VER) && !defined(_STLP_VERSION) &&
!defined(_STLP_VERSION_STR)

Query::Query(const Query& q) :
#if defined(_MSC_VER)

Also, in the first constructor, if success_ is meant to indicate whether
the last query was successful, shouldn't it be left initialised at false
rather than set to true after calling init, assuming that no query took
place?

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