]> git.pld-linux.org Git - packages/libgda.git/commitdiff
- update libgda API usage in bdb,freetds,firebird,ldap providers
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 21 Feb 2006 20:49:02 +0000 (20:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libgda-update.patch -> 1.1

libgda-update.patch [new file with mode: 0644]

diff --git a/libgda-update.patch b/libgda-update.patch
new file mode 100644 (file)
index 0000000..e70ba66
--- /dev/null
@@ -0,0 +1,44 @@
+--- libgda-1.9.100/providers/bdb/gda-bdb-recordset.c.orig      2005-09-16 11:55:02.000000000 +0200
++++ libgda-1.9.100/providers/bdb/gda-bdb-recordset.c   2006-02-21 20:46:12.736816500 +0100
+@@ -113,7 +113,7 @@
+               return NULL;
+       }
+-      row = (GdaRow *) gda_data_model_hash_get_row (model, row_num);
++      row = (GdaRow *) GDA_DATA_MODEL_BASE_CLASS (parent_class)->get_row (model, row_num);
+       if (row != NULL)
+               return (const GdaRow *) row;
+--- libgda-1.9.100/providers/freetds/gda-freetds-recordset.c.orig      2006-02-21 20:16:38.205915000 +0100
++++ libgda-1.9.100/providers/freetds/gda-freetds-recordset.c   2006-02-21 21:14:25.066580500 +0100
+@@ -155,7 +155,7 @@
+                       while (recset->priv->rows->len > 0) {
+                               GdaRow *row = (GdaRow *) g_ptr_array_index (recset->priv->rows, 0);
+                               if (row != NULL) {
+-                                      gda_row_free (row);
++                                      g_object_unref (row);
+                                       row = NULL;
+                               }
+                               g_ptr_array_remove_index (recset->priv->rows, 0);
+--- libgda-1.9.100/providers/firebird/gda-firebird-recordset.c.orig    2005-09-26 11:16:01.000000000 +0200
++++ libgda-1.9.100/providers/firebird/gda-firebird-recordset.c 2006-02-21 21:12:32.007514750 +0100
+@@ -775,7 +775,7 @@
+               /* if it exists then free it */
+               if (row != NULL)
+-                      gda_row_free (row);
++                      g_object_unref (row);
+               /* Move down all existing rows */
+               g_ptr_array_remove_index (recset->priv->rows, 0);
+--- libgda-1.9.100/providers/ldap/gda-ldap-recordset.c.orig    2005-09-22 12:24:01.000000000 +0200
++++ libgda-1.9.100/providers/ldap/gda-ldap-recordset.c 2006-02-21 21:14:58.776687250 +0100
+@@ -399,7 +399,7 @@
+               GdaRow * row = (GdaRow *) g_ptr_array_index (recset->rows, 0);
+               if (row != NULL)
+-                      gda_row_free (row);
++                      g_object_unref (row);
+               g_ptr_array_remove_index (recset->rows, 0);
+       }
+       g_ptr_array_free (recset->rows, TRUE);
This page took 0.09671 seconds and 4 git commands to generate.