[libgda/LIBGDA_4.2] Virtual connection correction



commit 2cc0ebcdf7be584818f615dde334735e36f94515
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Apr 10 22:07:42 2011 +0200

    Virtual connection correction

 libgda/sqlite/virtual/gda-vprovider-data-model.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 3b6190f..8b6f423 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -895,10 +895,10 @@ map_consume_gda_filter_to_sqlite3_info (GdaVconnectionDataModelFilter *filter, s
 				continue;
 			info->aConstraintUsage[i].argvIndex = filter->aConstraintUsage[j].argvIndex;
 			info->aConstraintUsage[i].omit = filter->aConstraintUsage[j].omit ? 1 : 0;
+			j++;
 		}
 		g_free (filter->aConstraint);
 		g_free (filter->aConstraintUsage);
-		j++;
 
 	}
 	if (filter->nOrderBy > 0)



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