summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/libgda/files/libgda-1.0.4-firebird-provider.patch')
-rw-r--r--gnome-extra/libgda/files/libgda-1.0.4-firebird-provider.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnome-extra/libgda/files/libgda-1.0.4-firebird-provider.patch b/gnome-extra/libgda/files/libgda-1.0.4-firebird-provider.patch
new file mode 100644
index 000000000000..cfede126522a
--- /dev/null
+++ b/gnome-extra/libgda/files/libgda-1.0.4-firebird-provider.patch
@@ -0,0 +1,40 @@
+--- providers/firebird/gda-firebird-provider.c_old 2004-11-19 08:23:39.164945104 +0900
++++ providers/firebird/gda-firebird-provider.c 2004-11-19 08:24:18.867909336 +0900
+@@ -346,6 +346,20 @@
+ return model;
+ }
+
++isc_tr_handle *
++gda_firebird_command_get_transaction (GdaCommand *cmd)
++{
++ GdaTransaction *xaction;
++ isc_tr_handle *itr;
++
++ xaction = gda_command_get_transaction (cmd);
++ if (!GDA_IS_TRANSACTION (xaction))
++ return NULL;
++
++ itr = g_object_get_data (G_OBJECT (xaction), TRANSACTION_DATA);
++ return itr;
++}
++
+ /* execute_command handler for the GdaFirebirdProvider class */
+ static GList *
+ gda_firebird_provider_execute_command (GdaServerProvider *provider,
+@@ -547,16 +561,3 @@
+ gda_connection_add_error (cnc, error);
+ }
+
+-isc_tr_handle *
+-gda_firebird_command_get_transaction (GdaCommand *cmd)
+-{
+- GdaTransaction *xaction;
+- isc_tr_handle *itr;
+-
+- xaction = gda_command_get_transaction (cmd);
+- if (!GDA_IS_TRANSACTION (xaction))
+- return NULL;
+-
+- itr = g_object_get_data (G_OBJECT (xaction), TRANSACTION_DATA);
+- return itr;
+-}