[libgdamm] SqlBuilder: Add compound_add_sub_select().



commit a607230aaaea5d5dfadff74cd33d04a19dcbe7d1
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue May 11 16:34:24 2010 +0200

    SqlBuilder: Add compound_add_sub_select().
    
    * libgda/src/sqlbuilder.hg: Wrap gda_sql_builder_compound_add_sub_select().

 ChangeLog                |   10 ++++++++--
 libgda/src/sqlbuilder.hg |    3 ++-
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e837bb5..c42a7d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,16 @@
 2010-05-11  Murray Cumming  <murrayc murrayc com>
 
-    Wrap SqlBuilder::get_sql_statement().
+	SqlBuilder: Add compound_add_sub_select().
+
+	* libgda/src/sqlbuilder.hg: Wrap gda_sql_builder_compound_add_sub_select().
+
+2010-05-11  Murray Cumming  <murrayc murrayc com>
+
+    SqlBuilder: Add get_sql_statement().
 
 	* libgda/src/sqlstatement.[hg|ccg]: Added SqlStatement, wrapping
     GdaSqlStatement.
-    * libgda/src/sqlbuilder.hg: Wrap get_sql_statement().
+    * libgda/src/sqlbuilder.hg:  Wrap gda_sql_builder_get_sql_statement().
 
 2010-05-07  Murray Cumming  <murrayc murrayc com>
 
diff --git a/libgda/src/sqlbuilder.hg b/libgda/src/sqlbuilder.hg
index 07857ae..44dda63 100644
--- a/libgda/src/sqlbuilder.hg
+++ b/libgda/src/sqlbuilder.hg
@@ -218,7 +218,8 @@ public:
 
 /* COMPOUND SELECT Statement API */
   //TODO: Wrap the enum when we wrap GdaSqlStatementCompound _WRAP_METHOD(void compound_set_type(SqlStatementCompoundType compound_type), gda_sql_builder_compound_set_type)
-  //The steal parameter suggests that this is an internal function: _WRAP_METHOD(void compound_add_sub_select(const Glib::RefPtr<SqlStatement>& sqlst, bool steal), gda_sql_builder_compound_add_sub_select)
+  //TODO: Remove the stupid steal parameter from the C API:
+  _WRAP_METHOD(void compound_add_sub_select(const SqlStatement& sqlst, bool steal = false), gda_sql_builder_compound_add_sub_select)
 
   _WRAP_METHOD(SqlExpr export_expression(guint id) const, gda_sql_builder_export_expression)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]