[libgda] gda_connection_internal_get_provider_data_error() corrections
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] gda_connection_internal_get_provider_data_error() corrections
- Date: Sun, 20 Nov 2011 17:13:45 +0000 (UTC)
commit 31ffd1fe29a15c650d898fb7e4bd4ec9dec77479
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Nov 20 15:22:47 2011 +0100
gda_connection_internal_get_provider_data_error() corrections
providers/oracle/gda-oracle-provider.c | 10 +++++-----
providers/oracle/gda-oracle-recordset.c | 2 +-
providers/oracle/gda-oracle-util.c | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/providers/oracle/gda-oracle-provider.c b/providers/oracle/gda-oracle-provider.c
index 1c336c1..94280ef 100644
--- a/providers/oracle/gda-oracle-provider.c
+++ b/providers/oracle/gda-oracle-provider.c
@@ -370,7 +370,7 @@ execute_raw_command (GdaConnection *cnc, const gchar *sql)
OCIStmt *hstmt = NULL;
int result;
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
if (!cdata)
return FALSE;
@@ -745,7 +745,7 @@ gda_oracle_provider_close_connection (GdaServerProvider *provider, GdaConnection
g_return_val_if_fail (gda_connection_get_provider (cnc) == provider, FALSE);
/* Close the connection using the C API */
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
if (!cdata)
return FALSE;
@@ -780,7 +780,7 @@ gda_oracle_provider_get_server_version (GdaServerProvider *provider, GdaConnecti
g_return_val_if_fail (GDA_IS_CONNECTION (cnc), NULL);
g_return_val_if_fail (gda_connection_get_provider (cnc) == provider, NULL);
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
if (!cdata)
return NULL;
@@ -800,7 +800,7 @@ gda_oracle_provider_get_database (GdaServerProvider *provider, GdaConnection *cn
g_return_val_if_fail (GDA_IS_CONNECTION (cnc), NULL);
g_return_val_if_fail (gda_connection_get_provider (cnc) == provider, NULL);
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
if (!cdata)
return NULL;
TO_IMPLEMENT;
@@ -2525,7 +2525,7 @@ gda_oracle_identifier_quote (GdaServerProvider *provider, GdaConnection *cnc,
OracleConnectionData *cdata = NULL;
if (cnc)
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
kwfunc = _gda_oracle_get_reserved_keyword_func (cdata);
diff --git a/providers/oracle/gda-oracle-recordset.c b/providers/oracle/gda-oracle-recordset.c
index 20bfd52..53ed36f 100644
--- a/providers/oracle/gda-oracle-recordset.c
+++ b/providers/oracle/gda-oracle-recordset.c
@@ -194,7 +194,7 @@ gda_oracle_recordset_new (GdaConnection *cnc, GdaOraclePStmt *ps, GdaSet *exec_p
g_return_val_if_fail (GDA_IS_CONNECTION (cnc), NULL);
g_return_val_if_fail (ps != NULL, NULL);
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
if (!cdata)
return NULL;
diff --git a/providers/oracle/gda-oracle-util.c b/providers/oracle/gda-oracle-util.c
index 415783f..4c12032 100644
--- a/providers/oracle/gda-oracle-util.c
+++ b/providers/oracle/gda-oracle-util.c
@@ -616,7 +616,7 @@ _gda_oracle_set_value (GValue *value,
gint result;
/* REM: we need to make a "copy" of the lob locator to give to the GdaOracleblobOp object */
- cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data_error (cnc, error);
+ cdata = (OracleConnectionData*) gda_connection_internal_get_provider_data (cnc);
if (!cdata) {
gda_connection_add_event_string (cnc, _("Invalid Oracle handle"));
gda_value_set_null (value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]