Re: [gnome-db] 0.2.90: compilation problems



Carlos Perelló Marín wrote:

On s_, 2001-09-15 at 06:14, Dmitry G. Mastrukov wrote:


Next I've found many occurences of GdaServerError in some providers in libgda, for example gda-mail-server. As I understood from Changelog GdaServerError was meged with GdaError so I replaced GdaServerError with GdaError and compilation ended ok.

Could you send us the patch?


Patch attached
diff -urN libgda-0.2.90.orig/providers/gda-interbase-server/gda-interbase.h libgda-0.2.90.new/providers/gda-interbase-server/gda-interbase.h
--- libgda-0.2.90.orig/providers/gda-interbase-server/gda-interbase.h	Thu Jul 19 03:05:34 2001
+++ libgda-0.2.90.new/providers/gda-interbase-server/gda-interbase.h	Sun Sep 16 21:56:24 2001
@@ -75,7 +75,7 @@
 						    cnc);
 GdaServerRecordset *gda_interbase_connection_open_schema (GdaServerConnection
 							  * cnc,
-							  GdaServerError *
+							  GdaError *
 							  error,
 							  GDA_Connection_QType
 							  t,
@@ -105,7 +105,7 @@
 
 gboolean gda_interbase_command_new (GdaServerCommand * cmd);
 GdaServerRecordset *gda_interbase_command_execute (GdaServerCommand * cmd,
-						   GdaServerError * error,
+						   GdaError * error,
 						   const GDA_CmdParameterSeq *
 						   params, gulong * affected,
 						   gulong options);
@@ -117,7 +117,7 @@
 gint gda_interbase_recordset_close (GdaServerRecordset * recset);
 void gda_interbase_recordset_free (GdaServerRecordset * recset);
 
-void gda_interbase_error_make (GdaServerError * error,
+void gda_interbase_error_make (GdaError * error,
 			       GdaServerRecordset * recset,
 			       GdaServerConnection * cnc, gchar * where);
 
diff -urN libgda-0.2.90.orig/providers/gda-ldap-server/gda-ldap-command.c libgda-0.2.90.new/providers/gda-ldap-server/gda-ldap-command.c
--- libgda-0.2.90.orig/providers/gda-ldap-server/gda-ldap-command.c	Thu Jul 19 03:05:36 2001
+++ libgda-0.2.90.new/providers/gda-ldap-server/gda-ldap-command.c	Sun Sep 16 21:56:30 2001
@@ -33,7 +33,7 @@
 
 GdaServerRecordset *
 gda_ldap_command_execute (GdaServerCommand * cmd,
-			  GdaServerError * error,
+			  GdaError * error,
 			  const GDA_CmdParameterSeq * params,
 			  gulong * affected, gulong options)
 {
diff -urN libgda-0.2.90.orig/providers/gda-ldap-server/gda-ldap.h libgda-0.2.90.new/providers/gda-ldap-server/gda-ldap.h
--- libgda-0.2.90.orig/providers/gda-ldap-server/gda-ldap.h	Thu Jul 19 03:05:36 2001
+++ libgda-0.2.90.new/providers/gda-ldap-server/gda-ldap.h	Sun Sep 16 21:56:35 2001
@@ -75,7 +75,7 @@
 gint gda_ldap_connection_rollback_transaction (GdaServerConnection * cnc);
 GdaServerRecordset *gda_ldap_connection_open_schema (GdaServerConnection *
 						     cnc,
-						     GdaServerError * error,
+						     GdaError * error,
 						     GDA_Connection_QType t,
 						     GDA_Connection_Constraint
 						     * constraints,
@@ -103,7 +103,7 @@
 
 gboolean gda_ldap_command_new (GdaServerCommand * cmd);
 GdaServerRecordset *gda_ldap_command_execute (GdaServerCommand * cmd,
-					      GdaServerError * error,
+					      GdaError * error,
 					      const GDA_CmdParameterSeq *
 					      params, gulong * affected,
 					      gulong options);
@@ -115,7 +115,7 @@
 gint gda_ldap_recordset_close (GdaServerRecordset * recset);
 void gda_ldap_recordset_free (GdaServerRecordset * recset);
 
-void gda_ldap_error_make (GdaServerError * error,
+void gda_ldap_error_make (GdaError * error,
 			  GdaServerRecordset * recset,
 			  GdaServerConnection * cnc, gchar * where);
 
diff -urN libgda-0.2.90.orig/providers/gda-mail-server/gda-mail-command.c libgda-0.2.90.new/providers/gda-mail-server/gda-mail-command.c
--- libgda-0.2.90.orig/providers/gda-mail-server/gda-mail-command.c	Thu Jul 19 03:05:36 2001
+++ libgda-0.2.90.new/providers/gda-mail-server/gda-mail-command.c	Sun Sep 16 21:56:01 2001
@@ -34,7 +34,7 @@
 
 GdaServerRecordset *
 gda_mail_command_execute (GdaServerCommand * cmd,
-			  GdaServerError * error,
+			  GdaError * error,
 			  const GDA_CmdParameterSeq * params,
 			  gulong * affected, gulong options)
 {
diff -urN libgda-0.2.90.orig/providers/gda-mail-server/gda-mail-connection.c libgda-0.2.90.new/providers/gda-mail-server/gda-mail-connection.c
--- libgda-0.2.90.orig/providers/gda-mail-server/gda-mail-connection.c	Thu Jul 19 03:05:37 2001
+++ libgda-0.2.90.new/providers/gda-mail-server/gda-mail-connection.c	Sun Sep 16 21:56:06 2001
@@ -20,7 +20,7 @@
 #include "gda-mail.h"
 #include <ctype.h>
 
-typedef GdaServerRecordset *(*schema_ops_fn) (GdaServerError *,
+typedef GdaServerRecordset *(*schema_ops_fn) (GdaError *,
 					      GdaServerConnection *,
 					      GDA_Connection_Constraint *,
 					      gint);
@@ -91,7 +91,7 @@
 
 GdaServerRecordset *
 gda_mail_connection_open_schema (GdaServerConnection * cnc,
-				 GdaServerError * error,
+				 GdaError * error,
 				 GDA_Connection_QType t,
 				 GDA_Connection_Constraint * constraints,
 				 gint length)
@@ -190,7 +190,7 @@
 }
 
 void
-gda_mail_error_make (GdaServerError * error,
+gda_mail_error_make (GdaError * error,
 		     GdaServerRecordset * recset,
 		     GdaServerConnection * cnc, gchar * where)
 {
diff -urN libgda-0.2.90.orig/providers/gda-mail-server/gda-mail.h libgda-0.2.90.new/providers/gda-mail-server/gda-mail.h
--- libgda-0.2.90.orig/providers/gda-mail-server/gda-mail.h	Thu Jul 19 03:05:37 2001
+++ libgda-0.2.90.new/providers/gda-mail-server/gda-mail.h	Sun Sep 16 21:56:13 2001
@@ -73,7 +73,7 @@
 gint gda_mail_connection_rollback_transaction (GdaServerConnection * cnc);
 GdaServerRecordset *gda_mail_connection_open_schema (GdaServerConnection *
 						     cnc,
-						     GdaServerError * error,
+						     GdaError * error,
 						     GDA_Connection_QType t,
 						     GDA_Connection_Constraint
 						     * constraints,
@@ -101,7 +101,7 @@
 
 gboolean gda_mail_command_new (GdaServerCommand * cmd);
 GdaServerRecordset *gda_mail_command_execute (GdaServerCommand * cmd,
-					      GdaServerError * error,
+					      GdaError * error,
 					      const GDA_CmdParameterSeq *
 					      params, gulong * affected,
 					      gulong options);
@@ -113,7 +113,7 @@
 gint gda_mail_recordset_close (GdaServerRecordset * recset);
 void gda_mail_recordset_free (GdaServerRecordset * recset);
 
-void gda_mail_error_make (GdaServerError * error,
+void gda_mail_error_make (GdaError * error,
 			  GdaServerRecordset * recset,
 			  GdaServerConnection * cnc, gchar * where);
 
diff -urN libgda-0.2.90.orig/providers/gda-mdb-server/gda-mdb.h libgda-0.2.90.new/providers/gda-mdb-server/gda-mdb.h
--- libgda-0.2.90.orig/providers/gda-mdb-server/gda-mdb.h	Sat Apr  7 12:49:22 2001
+++ libgda-0.2.90.new/providers/gda-mdb-server/gda-mdb.h	Sun Sep 16 21:56:19 2001
@@ -79,7 +79,7 @@
 gint gda_mdb_connection_commit_transaction (GdaServerConnection *cnc);
 gint gda_mdb_connection_rollback_transaction (GdaServerConnection *cnc);
 GdaServerRecordset* gda_mdb_connection_open_schema (GdaServerConnection *cnc,
-						       GdaServerError *error,
+						       GdaError *error,
 						       GDA_Connection_QType t,
 						       GDA_Connection_Constraint *constraints,
 						       gint length);
@@ -104,7 +104,7 @@
 
 gboolean gda_mdb_command_new (GdaServerCommand *cmd);
 GdaServerRecordset* gda_mdb_command_execute (GdaServerCommand *cmd,
-						GdaServerError *error,
+						GdaError *error,
 						const GDA_CmdParameterSeq *params,
 						gulong *affected,
 						gulong options);
@@ -116,7 +116,7 @@
 gint     gda_mdb_recordset_close     (GdaServerRecordset *recset);
 void     gda_mdb_recordset_free      (GdaServerRecordset *recset);
 
-void gda_mdb_error_make (GdaServerError *error,
+void gda_mdb_error_make (GdaError *error,
 			   GdaServerRecordset *recset,
 			   GdaServerConnection *cnc,
 			   gchar *where);
diff -urN libgda-0.2.90.orig/providers/gda-primebase-server/gda-primebase.h libgda-0.2.90.new/providers/gda-primebase-server/gda-primebase.h
--- libgda-0.2.90.orig/providers/gda-primebase-server/gda-primebase.h	Thu Jul 19 03:05:41 2001
+++ libgda-0.2.90.new/providers/gda-primebase-server/gda-primebase.h	Sun Sep 16 21:58:52 2001
@@ -108,7 +108,7 @@
 						    cnc);
 GdaServerRecordset *gda_primebase_connection_open_schema (GdaServerConnection
 							  * cnc,
-							  GdaServerError *
+							  GdaError *
 							  error,
 							  GDA_Connection_QType
 							  t,
@@ -138,7 +138,7 @@
 
 gboolean gda_primebase_command_new (GdaServerCommand * cmd);
 GdaServerRecordset *gda_primebase_command_execute (GdaServerCommand * cmd,
-						   GdaServerError * error,
+						   GdaError * error,
 						   const GDA_CmdParameterSeq *
 						   params, gulong * affected,
 						   gulong options);
@@ -153,7 +153,7 @@
 primebase_Error *gda_primebase_get_error (long, gboolean);
 void gda_primebase_free_error (primebase_Error *);
 
-void gda_primebase_error_make (GdaServerError * error,
+void gda_primebase_error_make (GdaError * error,
 			       GdaServerRecordset * recset,
 			       GdaServerConnection * cnc, gchar * where);
 
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-command.h libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-command.h
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-command.h	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-command.h	Sun Sep 16 21:57:49 2001
@@ -49,7 +49,7 @@
 
 gboolean gda_sybase_command_new (GdaServerCommand * cmd);
 GdaServerRecordset *gda_sybase_command_execute (GdaServerCommand * cmd,
-						GdaServerError * error,
+						GdaError * error,
 						const GDA_CmdParameterSeq *
 						params, gulong * affected,
 						gulong options);
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-connection.c libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-connection.c
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-connection.c	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-connection.c	Sun Sep 16 21:58:13 2001
@@ -429,7 +429,7 @@
  */
 
 static GdaServerRecordset *
-schema_cols (GdaServerError * error,
+schema_cols (GdaError * error,
 	     GdaServerConnection * cnc,
 	     GDA_Connection_Constraint * constraints, gint length)
 {
@@ -512,7 +512,7 @@
 }
 
 static GdaServerRecordset *
-schema_procs (GdaServerError * error,
+schema_procs (GdaError * error,
 	      GdaServerConnection * cnc,
 	      GDA_Connection_Constraint * constraints, gint length)
 {
@@ -588,7 +588,7 @@
 }
 
 static GdaServerRecordset *
-schema_tables (GdaServerError * error,
+schema_tables (GdaError * error,
 	       GdaServerConnection * cnc,
 	       GDA_Connection_Constraint * constraints, gint length)
 {
@@ -664,7 +664,7 @@
 }
 
 static GdaServerRecordset *
-schema_types (GdaServerError * error,
+schema_types (GdaError * error,
 	      GdaServerConnection * cnc,
 	      GDA_Connection_Constraint * constraints, gint length)
 {
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-connection.h libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-connection.h
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-connection.h	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-connection.h	Sun Sep 16 21:58:23 2001
@@ -61,7 +61,7 @@
 	gboolean cs_diag;	// wether we can use cs_diag for cslib messages
 	gboolean ct_diag;	// wether we can use ct_diag for ctlib messages
 
-	GdaServerError *error;
+	GdaError *error;
 	sybase_Error serr;
 
 	gchar *database;
@@ -80,7 +80,7 @@
 gint gda_sybase_connection_rollback_transaction (GdaServerConnection * cnc);
 GdaServerRecordset *gda_sybase_connection_open_schema (GdaServerConnection *
 						       cnc,
-						       GdaServerError * error,
+						       GdaError * error,
 						       GDA_Connection_QType t,
 						       GDA_Connection_Constraint
 						       * constraints,
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-error.c libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-error.c
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-error.c	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-error.c	Sun Sep 16 21:58:29 2001
@@ -62,7 +62,7 @@
 							 *);
 
 void
-gda_sybase_error_make (GdaServerError * error,
+gda_sybase_error_make (GdaError * error,
 		       GdaServerRecordset * recset,
 		       GdaServerConnection * cnc, gchar * where)
 {
@@ -191,7 +191,7 @@
 }
 
 void
-sybase_chkerr (GdaServerError * error,
+sybase_chkerr (GdaError * error,
 	       GdaServerRecordset * recset,
 	       GdaServerConnection * _cnc,
 	       GdaServerCommand * _cmd, gchar * where)
@@ -264,7 +264,7 @@
 CS_RETCODE
 sybase_exec_chk (CS_RETCODE * retvar,
 		 CS_RETCODE retval,
-		 GdaServerError * err,
+		 GdaError * err,
 		 GdaServerRecordset * rec,
 		 GdaServerConnection * cnc,
 		 GdaServerCommand * cmd, gchar * where)
@@ -275,7 +275,7 @@
 }
 
 void
-gda_sybase_messages_handle (GdaServerError * error,
+gda_sybase_messages_handle (GdaError * error,
 			    GdaServerRecordset * recset,
 			    GdaServerConnection * cnc, gchar * where)
 {
@@ -288,7 +288,7 @@
 }
 
 void
-gda_sybase_messages_handle_clientmsg (GdaServerError * error,
+gda_sybase_messages_handle_clientmsg (GdaError * error,
 				      GdaServerRecordset * recset,
 				      GdaServerConnection * cnc,
 				      gchar * where)
@@ -359,12 +359,12 @@
 }
 
 void
-gda_sybase_messages_handle_servermsg (GdaServerError * error,
+gda_sybase_messages_handle_servermsg (GdaError * error,
 				      GdaServerRecordset * recset,
 				      GdaServerConnection * cnc,
 				      gchar * where)
 {
-	GdaServerError *serverr = error;
+	GdaError *serverr = error;
 	sybase_Connection *scnc = NULL;
 	CS_RETCODE ret = CS_SUCCEED;
 	CS_INT msgcur = 0;
@@ -439,7 +439,7 @@
 }
 
 void
-gda_sybase_messages_handle_csmsg (GdaServerError * error,
+gda_sybase_messages_handle_csmsg (GdaError * error,
 				  GdaServerRecordset * recset,
 				  GdaServerConnection * cnc, gchar * where)
 {
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-error.h libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-error.h
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-error.h	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-error.h	Sun Sep 16 21:58:35 2001
@@ -41,7 +41,7 @@
 
 gint gda_sybase_install_error_handlers (GdaServerConnection *);
 
-void gda_sybase_error_make (GdaServerError * error,
+void gda_sybase_error_make (GdaError * error,
 			    GdaServerRecordset * recset,
 			    GdaServerConnection * cnc, gchar * where);
 
@@ -50,12 +50,12 @@
 gboolean gda_sybase_messages_install (GdaServerConnection *);
 void gda_sybase_messages_uninstall (GdaServerConnection *);
 
-void sybase_chkerr (GdaServerError *,
+void sybase_chkerr (GdaError *,
 		    GdaServerRecordset *,
 		    GdaServerConnection *, GdaServerCommand *, gchar *);
 CS_RETCODE sybase_exec_chk (CS_RETCODE *,
 			    CS_RETCODE,
-			    GdaServerError *,
+			    GdaError *,
 			    GdaServerRecordset *,
 			    GdaServerConnection *,
 			    GdaServerCommand *, gchar *);
@@ -71,18 +71,18 @@
 						 __PRETTY_FUNCTION__)
 #endif
 
-void gda_sybase_messages_handle (GdaServerError *,
+void gda_sybase_messages_handle (GdaError *,
 				 GdaServerRecordset *,
 				 GdaServerConnection *, gchar * where);
-void gda_sybase_messages_handle_clientmsg (GdaServerError *,
+void gda_sybase_messages_handle_clientmsg (GdaError *,
 					   GdaServerRecordset *,
 					   GdaServerConnection *,
 					   gchar * where);
-void gda_sybase_messages_handle_servermsg (GdaServerError *,
+void gda_sybase_messages_handle_servermsg (GdaError *,
 					   GdaServerRecordset *,
 					   GdaServerConnection *,
 					   gchar * where);
-void gda_sybase_messages_handle_csmsg (GdaServerError *,
+void gda_sybase_messages_handle_csmsg (GdaError *,
 				       GdaServerRecordset *,
 				       GdaServerConnection *, gchar * where);
 
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-recordset.c libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-recordset.c
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-recordset.c	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-recordset.c	Sun Sep 16 21:58:43 2001
@@ -357,7 +357,7 @@
 }
 
 void
-gda_sybase_init_recset_fields (GdaServerError * err,
+gda_sybase_init_recset_fields (GdaError * err,
 			       GdaServerRecordset * recset,
 			       sybase_Recordset * srecset,
 			       CS_RETCODE result_type)
diff -urN libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-recordset.h libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-recordset.h
--- libgda-0.2.90.orig/providers/gda-sybase-server/gda-sybase-recordset.h	Thu Jul 19 03:05:42 2001
+++ libgda-0.2.90.new/providers/gda-sybase-server/gda-sybase-recordset.h	Sun Sep 16 21:58:47 2001
@@ -69,7 +69,7 @@
 gint gda_sybase_recordset_close (GdaServerRecordset *);
 void gda_sybase_recordset_free (GdaServerRecordset *);
 
-void gda_sybase_init_recset_fields (GdaServerError *,
+void gda_sybase_init_recset_fields (GdaError *,
 				    GdaServerRecordset *,
 				    sybase_Recordset *, CS_RETCODE);
 
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-command.c libgda-0.2.90.new/providers/gda-tds-server/gda-tds-command.c
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-command.c	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-command.c	Sun Sep 16 21:56:42 2001
@@ -87,7 +87,7 @@
 
 GdaServerRecordset *
 gda_tds_command_execute (GdaServerCommand * cmd,
-			 GdaServerError * error,
+			 GdaError * error,
 			 const GDA_CmdParameterSeq * params,
 			 gulong * affected, gulong options)
 {
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-command.h libgda-0.2.90.new/providers/gda-tds-server/gda-tds-command.h
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-command.h	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-command.h	Sun Sep 16 21:56:47 2001
@@ -49,7 +49,7 @@
 
 gboolean gda_tds_command_new (GdaServerCommand * cmd);
 GdaServerRecordset *gda_tds_command_execute (GdaServerCommand * cmd,
-					     GdaServerError * error,
+					     GdaError * error,
 					     const GDA_CmdParameterSeq *
 					     params, gulong * affected,
 					     gulong options);
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-connection.c libgda-0.2.90.new/providers/gda-tds-server/gda-tds-connection.c
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-connection.c	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-connection.c	Sun Sep 16 21:56:56 2001
@@ -75,7 +75,7 @@
 #include "gda-tds.h"
 #include "ctype.h"
 
-typedef GdaServerRecordset *(*schema_ops_fn) (GdaServerError *,
+typedef GdaServerRecordset *(*schema_ops_fn) (GdaError *,
 					      GdaServerConnection *,
 					      GDA_Connection_Constraint *,
 					      gint);
@@ -85,16 +85,16 @@
 };
 
 // schema definitions
-static GdaServerRecordset *schema_cols (GdaServerError *,
+static GdaServerRecordset *schema_cols (GdaError *,
 					GdaServerConnection *,
 					GDA_Connection_Constraint *, gint);
-static GdaServerRecordset *schema_procs (GdaServerError *,
+static GdaServerRecordset *schema_procs (GdaError *,
 					 GdaServerConnection *,
 					 GDA_Connection_Constraint *, gint);
-static GdaServerRecordset *schema_tables (GdaServerError *,
+static GdaServerRecordset *schema_tables (GdaError *,
 					  GdaServerConnection *,
 					  GDA_Connection_Constraint *, gint);
-static GdaServerRecordset *schema_types (GdaServerError *,
+static GdaServerRecordset *schema_types (GdaError *,
 					 GdaServerConnection *,
 					 GDA_Connection_Constraint *, gint);
 
@@ -261,7 +261,7 @@
 
 GdaServerRecordset *
 gda_tds_connection_open_schema (GdaServerConnection * cnc,
-				GdaServerError * error,
+				GdaError * error,
 				GDA_Connection_QType t,
 				GDA_Connection_Constraint * constraints,
 				gint length)
@@ -413,7 +413,7 @@
  */
 
 static GdaServerRecordset *
-schema_cols (GdaServerError * error,
+schema_cols (GdaError * error,
 	     GdaServerConnection * cnc,
 	     GDA_Connection_Constraint * constraints, gint length)
 {
@@ -496,7 +496,7 @@
 }
 
 static GdaServerRecordset *
-schema_procs (GdaServerError * error,
+schema_procs (GdaError * error,
 	      GdaServerConnection * cnc,
 	      GDA_Connection_Constraint * constraints, gint length)
 {
@@ -572,7 +572,7 @@
 }
 
 static GdaServerRecordset *
-schema_tables (GdaServerError * error,
+schema_tables (GdaError * error,
 	       GdaServerConnection * cnc,
 	       GDA_Connection_Constraint * constraints, gint length)
 {
@@ -648,7 +648,7 @@
 }
 
 static GdaServerRecordset *
-schema_types (GdaServerError * error,
+schema_types (GdaError * error,
 	      GdaServerConnection * cnc,
 	      GDA_Connection_Constraint * constraints, gint length)
 {
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-connection.h libgda-0.2.90.new/providers/gda-tds-server/gda-tds-connection.h
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-connection.h	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-connection.h	Sun Sep 16 21:57:15 2001
@@ -61,7 +61,7 @@
 	gboolean cs_diag;	// wether we can use cs_diag for cslib messages
 	gboolean ct_diag;	// wether we can use ct_diag for ctlib messages
 
-	GdaServerError *error;
+	GdaError *error;
 	tds_Error serr;
 
 	gchar *database;
@@ -79,7 +79,7 @@
 gint gda_tds_connection_commit_transaction (GdaServerConnection * cnc);
 gint gda_tds_connection_rollback_transaction (GdaServerConnection * cnc);
 GdaServerRecordset *gda_tds_connection_open_schema (GdaServerConnection * cnc,
-						    GdaServerError * error,
+						    GdaError * error,
 						    GDA_Connection_QType t,
 						    GDA_Connection_Constraint
 						    * constraints,
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-error.c libgda-0.2.90.new/providers/gda-tds-server/gda-tds-error.c
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-error.c	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-error.c	Sun Sep 16 21:57:21 2001
@@ -59,7 +59,7 @@
 						      const CS_CONNECTION *);
 
 void
-gda_tds_error_make (GdaServerError * error,
+gda_tds_error_make (GdaError * error,
 		    GdaServerRecordset * recset,
 		    GdaServerConnection * cnc, gchar * where)
 {
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-error.h libgda-0.2.90.new/providers/gda-tds-server/gda-tds-error.h
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-error.h	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-error.h	Sun Sep 16 21:57:25 2001
@@ -41,7 +41,7 @@
 
 gint gda_tds_install_error_handlers (GdaServerConnection *);
 
-void gda_tds_error_make (GdaServerError * error,
+void gda_tds_error_make (GdaError * error,
 			 GdaServerRecordset * recset,
 			 GdaServerConnection * cnc, gchar * where);
 
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-recordset.c libgda-0.2.90.new/providers/gda-tds-server/gda-tds-recordset.c
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-recordset.c	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-recordset.c	Sun Sep 16 21:57:31 2001
@@ -354,7 +354,7 @@
 }
 
 void
-gda_tds_init_recset_fields (GdaServerError * err,
+gda_tds_init_recset_fields (GdaError * err,
 			    GdaServerRecordset * recset,
 			    tds_Recordset * trecset, CS_RETCODE result_type)
 {
diff -urN libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-recordset.h libgda-0.2.90.new/providers/gda-tds-server/gda-tds-recordset.h
--- libgda-0.2.90.orig/providers/gda-tds-server/gda-tds-recordset.h	Thu Jul 19 03:05:43 2001
+++ libgda-0.2.90.new/providers/gda-tds-server/gda-tds-recordset.h	Sun Sep 16 21:57:37 2001
@@ -69,7 +69,7 @@
 gint gda_tds_recordset_close (GdaServerRecordset *);
 void gda_tds_recordset_free (GdaServerRecordset *);
 
-void gda_tds_init_recset_fields (GdaServerError *,
+void gda_tds_init_recset_fields (GdaError *,
 				 GdaServerRecordset *,
 				 tds_Recordset *, CS_RETCODE);
 
diff -urN libgda-0.2.90.orig/tools/templates/gda-srv-command.c.tmpl libgda-0.2.90.new/tools/templates/gda-srv-command.c.tmpl
--- libgda-0.2.90.orig/tools/templates/gda-srv-command.c.tmpl	Sat Apr  7 12:49:40 2001
+++ libgda-0.2.90.new/tools/templates/gda-srv-command.c.tmpl	Sun Sep 16 21:55:53 2001
@@ -32,7 +32,7 @@
 
 GdaServerRecordset *
 gda_<provider-name>_command_execute (GdaServerCommand *cmd,
-                                     GdaServerError *error,
+                                     GdaError *error,
                                      const GDA_CmdParameterSeq *params,
                                      gulong *affected,
                                      gulong options) {


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