summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-11-23 17:18:46 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-11-23 17:18:46 +0000
commit636589e356d26986b5c929a94571b84d860301d8 (patch)
tree856ab36719efd78e408a446960e542d697ecf6ef /gnome-extra/libgda/files
parentversion bump, moving CORBA.py and PortableServer.py to avoid colliding with o... (diff)
downloadhistorical-636589e356d26986b5c929a94571b84d860301d8.tar.gz
historical-636589e356d26986b5c929a94571b84d860301d8.tar.bz2
historical-636589e356d26986b5c929a94571b84d860301d8.zip
added firebird provider patch (#71708)
Diffstat (limited to 'gnome-extra/libgda/files')
-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;
+-}