diff options
Diffstat (limited to 'databases')
6 files changed, 86 insertions, 0 deletions
diff --git a/databases/libgda2/files/patch-doc::libgda-C.omf.in b/databases/libgda2/files/patch-doc::libgda-C.omf.in deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/databases/libgda2/files/patch-doc::libgda-C.omf.in +++ /dev/null diff --git a/databases/libgda2/files/patch-libgda__gda-value.c b/databases/libgda2/files/patch-libgda__gda-value.c new file mode 100644 index 000000000000..f0f47ef033dd --- /dev/null +++ b/databases/libgda2/files/patch-libgda__gda-value.c @@ -0,0 +1,24 @@ +--- ../../work-/libgda-1.9.100/libgda/gda-value.c Tue Nov 8 14:56:44 2005 ++++ libgda/gda-value.c Tue Nov 8 14:57:29 2005 +@@ -1263,8 +1263,8 @@ + gboolean + gda_value_is_number (GdaValue *value) + { +- g_return_val_if_fail (value && G_IS_VALUE(value), FALSE); + GdaValueType type; ++ g_return_val_if_fail (value && G_IS_VALUE(value), FALSE); + + type = GDA_VALUE_TYPE(value); + switch (type) { +@@ -1437,10 +1437,10 @@ + void + gda_value_set_blob (GdaValue *value, const GdaBlob *val) + { ++ GdaBlob *blob; + g_return_if_fail (value); + g_return_if_fail (GDA_IS_BLOB (val)); + +- GdaBlob *blob; + l_g_value_unset (value); + g_value_init (value, G_VALUE_TYPE_BLOB); + diff --git a/databases/libgda2/files/patch-providers__mysql__gda-mysql-recordset.c b/databases/libgda2/files/patch-providers__mysql__gda-mysql-recordset.c new file mode 100644 index 000000000000..7d7611235aa0 --- /dev/null +++ b/databases/libgda2/files/patch-providers__mysql__gda-mysql-recordset.c @@ -0,0 +1,19 @@ +--- ../../work-/libgda-1.9.100/providers/mysql/gda-mysql-recordset.c Tue Nov 8 14:56:45 2005 ++++ providers/mysql/gda-mysql-recordset.c Tue Nov 8 14:59:26 2005 +@@ -569,6 +569,7 @@ + colnum != gda_data_model_get_n_columns (GDA_DATA_MODEL(model)); + colnum++) + { ++ gchar *curval; + attrs = gda_data_model_describe_column (GDA_DATA_MODEL(model), colnum); + + mysql_field = mysql_fetch_field_direct (priv_data->mysql_res, colnum); +@@ -577,7 +578,7 @@ + else + column_name = gda_data_model_get_column_title (GDA_DATA_MODEL (model), colnum); + +- gchar *curval = gda_mysql_provider_value_to_sql_string ( ++ curval = gda_mysql_provider_value_to_sql_string ( + NULL, + priv_data->cnc, + gda_row_get_value ((GdaRow *) row, colnum) diff --git a/databases/libgda3/files/patch-doc::libgda-C.omf.in b/databases/libgda3/files/patch-doc::libgda-C.omf.in deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/databases/libgda3/files/patch-doc::libgda-C.omf.in +++ /dev/null diff --git a/databases/libgda3/files/patch-libgda__gda-value.c b/databases/libgda3/files/patch-libgda__gda-value.c new file mode 100644 index 000000000000..f0f47ef033dd --- /dev/null +++ b/databases/libgda3/files/patch-libgda__gda-value.c @@ -0,0 +1,24 @@ +--- ../../work-/libgda-1.9.100/libgda/gda-value.c Tue Nov 8 14:56:44 2005 ++++ libgda/gda-value.c Tue Nov 8 14:57:29 2005 +@@ -1263,8 +1263,8 @@ + gboolean + gda_value_is_number (GdaValue *value) + { +- g_return_val_if_fail (value && G_IS_VALUE(value), FALSE); + GdaValueType type; ++ g_return_val_if_fail (value && G_IS_VALUE(value), FALSE); + + type = GDA_VALUE_TYPE(value); + switch (type) { +@@ -1437,10 +1437,10 @@ + void + gda_value_set_blob (GdaValue *value, const GdaBlob *val) + { ++ GdaBlob *blob; + g_return_if_fail (value); + g_return_if_fail (GDA_IS_BLOB (val)); + +- GdaBlob *blob; + l_g_value_unset (value); + g_value_init (value, G_VALUE_TYPE_BLOB); + diff --git a/databases/libgda3/files/patch-providers__mysql__gda-mysql-recordset.c b/databases/libgda3/files/patch-providers__mysql__gda-mysql-recordset.c new file mode 100644 index 000000000000..7d7611235aa0 --- /dev/null +++ b/databases/libgda3/files/patch-providers__mysql__gda-mysql-recordset.c @@ -0,0 +1,19 @@ +--- ../../work-/libgda-1.9.100/providers/mysql/gda-mysql-recordset.c Tue Nov 8 14:56:45 2005 ++++ providers/mysql/gda-mysql-recordset.c Tue Nov 8 14:59:26 2005 +@@ -569,6 +569,7 @@ + colnum != gda_data_model_get_n_columns (GDA_DATA_MODEL(model)); + colnum++) + { ++ gchar *curval; + attrs = gda_data_model_describe_column (GDA_DATA_MODEL(model), colnum); + + mysql_field = mysql_fetch_field_direct (priv_data->mysql_res, colnum); +@@ -577,7 +578,7 @@ + else + column_name = gda_data_model_get_column_title (GDA_DATA_MODEL (model), colnum); + +- gchar *curval = gda_mysql_provider_value_to_sql_string ( ++ curval = gda_mysql_provider_value_to_sql_string ( + NULL, + priv_data->cnc, + gda_row_get_value ((GdaRow *) row, colnum) |