[libgda/LIBGDA_4.2] Removed debug messages



commit 391dbb47f425ba868d586d961915dc8728da13f0
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Sep 18 16:19:02 2011 +0200

    Removed debug messages

 libgda/gda-data-select.c             |    8 ++++----
 libgda/sqlite/gda-sqlite-recordset.c |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgda/gda-data-select.c b/libgda/gda-data-select.c
index 05e615c..7ce2e06 100644
--- a/libgda/gda-data-select.c
+++ b/libgda/gda-data-select.c
@@ -2180,9 +2180,9 @@ update_iter (GdaDataSelect *imodel, GdaRow *prow)
 		value = gda_row_get_value (prow, i);
 
 		if (!gda_row_value_is_valid_e (prow, value, &lerror)) {
-			g_warning (_("%s(%p) [%d] Could not change iter's value for column %d: %s"),
-				   __FUNCTION__, iter, imodel->priv->sh->iter_row, i,
-				   lerror && lerror->message ? lerror->message : _("No detail"));
+			/*g_print (_("%s(%p) [%d] Could not change iter's value for column %d: %s"),
+				 __FUNCTION__, iter, imodel->priv->sh->iter_row, i,
+				 lerror && lerror->message ? lerror->message : _("No detail"));*/
 			gda_holder_force_invalid_e ((GdaHolder*) plist->data, lerror);
 		}
 		else if (! gda_holder_set_value ((GdaHolder*) plist->data, value, &lerror)) {
@@ -2211,7 +2211,7 @@ update_iter (GdaDataSelect *imodel, GdaRow *prow)
 	if (update_model)
 		g_object_set (G_OBJECT (iter), "update-model", update_model, NULL);
 
-	g_print ("%s(%p), current-row =>%d advertized_nrows => %d\n", __FUNCTION__, imodel, imodel->priv->sh->iter_row, imodel->advertized_nrows);
+	/*g_print ("%s(%p), current-row =>%d advertized_nrows => %d\n", __FUNCTION__, imodel, imodel->priv->sh->iter_row, imodel->advertized_nrows);*/
 }
 
 /*
diff --git a/libgda/sqlite/gda-sqlite-recordset.c b/libgda/sqlite/gda-sqlite-recordset.c
index b54109b..1fec57d 100644
--- a/libgda/sqlite/gda-sqlite-recordset.c
+++ b/libgda/sqlite/gda-sqlite-recordset.c
@@ -380,7 +380,7 @@ fetch_next_sqlite_row (GdaSqliteRecordset *model, gboolean do_store, GError **er
 			GError *may_error;
 			may_error = (GError*) SQLITE3_CALL (sqlite3_column_blob) (ps->sqlite_stmt, real_col);
 			if (may_error && g_hash_table_lookup (error_blobs_hash, may_error)) {
-				g_print ("[[[%s]]]\n", may_error->message);
+				/*g_print ("Row invalidated: [%s]\n", may_error->message);*/
 				gda_row_invalidate_value_e (prow, value, may_error);
 				g_hash_table_remove (error_blobs_hash, may_error);
 			}



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