SOURCES: libgda-freetds.patch - more
arekm
arekm at pld-linux.org
Mon Dec 25 01:11:15 CET 2006
Author: arekm Date: Mon Dec 25 00:11:15 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- more
---- Files affected:
SOURCES:
libgda-freetds.patch (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/libgda-freetds.patch
diff -u SOURCES/libgda-freetds.patch:1.5 SOURCES/libgda-freetds.patch:1.6
--- SOURCES/libgda-freetds.patch:1.5 Mon Dec 25 00:51:19 2006
+++ SOURCES/libgda-freetds.patch Mon Dec 25 01:11:10 2006
@@ -1,6 +1,15 @@
-diff -urN libgda-2.99.2.org/providers/freetds/gda-freetds-provider.c libgda-2.99.2/providers/freetds/gda-freetds-provider.c
+diff -ur libgda-2.99.2.org/providers/freetds/gda-freetds-provider.c libgda-2.99.2/providers/freetds/gda-freetds-provider.c
--- libgda-2.99.2.org/providers/freetds/gda-freetds-provider.c 2006-11-06 10:55:18.000000000 +0100
-+++ libgda-2.99.2/providers/freetds/gda-freetds-provider.c 2006-12-24 22:49:37.647016500 +0100
++++ libgda-2.99.2/providers/freetds/gda-freetds-provider.c 2006-12-24 22:59:27.831900750 +0100
+@@ -254,7 +254,7 @@
+
+ /* Version 0.60 api uses context additionaly */
+ #if defined(HAVE_FREETDS_VER0_63) || defined(HAVE_FREETDS_VER0_61_62) || defined(HAVE_FREETDS_VER0_60)
+- tds_cnc->ctx = tds_alloc_context();
++ tds_cnc->ctx = tds_alloc_context(NULL);
+ if (! tds_cnc->ctx) {
+ gda_log_error (_("Allocating tds context failed."));
+ gda_freetds_free_connection_data (tds_cnc);
@@ -1047,9 +1047,9 @@
TDS_SUCCEED);
@@ -23,3 +32,15 @@
gda_connection_event_set_source (error, "gda-freetds");
if (msg_info->sql_state != NULL) {
gda_connection_event_set_sqlstate (error,
+diff -ur libgda-2.99.2.org/providers/freetds/gda-freetds-recordset.c libgda-2.99.2/providers/freetds/gda-freetds-recordset.c
+--- libgda-2.99.2.org/providers/freetds/gda-freetds-recordset.c 2006-10-27 17:01:29.000000000 +0200
++++ libgda-2.99.2/providers/freetds/gda-freetds-recordset.c 2006-12-24 23:09:19.124854250 +0100
+@@ -368,7 +368,7 @@
+ g_object_unref (recset);
+ recset = NULL;
+ return NULL;
+- } else if (tds_cnc->rc != TDS_NO_MORE_ROWS) {
++ } else if (tds_cnc->rc != TDS_NO_MORE_RESULTS) {
+ error = gda_freetds_make_error(tds_cnc->tds,
+ _("Unexpected freetds return code in tds_process_row_tokens().\n"));
+ gda_connection_add_event (cnc, error);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/libgda-freetds.patch?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list