[libgda/LIBGDA_4.2] Correctly initialize variable in GdaDataAccessWrapper



commit 2ee9b3962d4ca7599a0e27f526a84d16947d4d13
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed May 25 21:54:03 2011 +0200

    Correctly initialize variable in GdaDataAccessWrapper

 libgda/gda-data-access-wrapper.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-data-access-wrapper.c b/libgda/gda-data-access-wrapper.c
index 904ae09..9e65ca6 100644
--- a/libgda/gda-data-access-wrapper.c
+++ b/libgda/gda-data-access-wrapper.c
@@ -1,5 +1,5 @@
-/* GDA library
- * Copyright (C) 2006 - 2010 The GNOME Foundation.
+/*
+ * Copyright (C) 2006 - 2011 The GNOME Foundation.
  *
  * AUTHORS:
  *      Vivien Malerba <malerba gnome-db org>
@@ -186,6 +186,7 @@ gda_data_access_wrapper_init (GdaDataAccessWrapper *model, G_GNUC_UNUSED GdaData
 	model->priv->iter_row = -1; /* because model->priv->iter does not yet exist */
 	model->priv->rows = NULL;
 	model->priv->end_of_data = FALSE;
+	model->priv->last_row = -1;
 	
 	model->priv->rows_buffer_array = NULL;
 	model->priv->rows_buffer_index = NULL;



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