List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:May 10 2005 10:18pm
Subject:Question about change in query.h
View as plain text  
I'm reading through the diffs from 1.7.32 to 1.7.33 and noticed the
following change in lib/query.h:

@@ -11,13 +30,11 @@
 #include <mysql.h>

 #define mysql_query_define1(RETURN, FUNC) \
-  RETURN FUNC () {return FUNC (def);} \
   RETURN FUNC (const char* str); \
   RETURN FUNC (parms &p);\
   mysql_query_define0(RETURN,FUNC) \

 #define mysql_query_define2(FUNC) \
-  template <class T1> void FUNC (T1 &con, query_reset r = RESET_QUERY) {FUNC (c
on, def,r);} \
   template <class T1> void FUNC (T1 &con, const char* str); \
   template <class T1> void FUNC (T1 &con, parms &p, query_reset r =
RESET_QUERY
);\
   template <class T1> void FUNC (T1 &con, ss a)\

Just curious why those two functions were removed?

Thanks,
- Chris

Thread
Question about change in query.hChris Frey11 May
  • Re: Question about change in query.hWarren Young11 May
    • Re: Question about change in query.hChris Frey12 May