[gnome-db] Patch for #129560
- From: Laurent Sansonetti <lrz gnome org>
- To: gnome-db-list gnome org
- Subject: [gnome-db] Patch for #129560
- Date: Tue, 24 Feb 2004 00:29:54 +0000
Hi,
Here is a patch to resolve defect #129560.
Cheers!
--
Laurent
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libgda/ChangeLog,v
retrieving revision 1.623
diff -u -r1.623 ChangeLog
--- ChangeLog 18 Feb 2004 13:12:58 -0000 1.623
+++ ChangeLog 23 Feb 2004 21:32:27 -0000
@@ -1,9 +1,19 @@
+2004-02-23 Laurent Sansonetit <lrz gnome org>
+
+ Fixes #129560
+
+ * libgda/gda-config.c (gda_config_set_string, gda_config_set_int,
+ gda_config_set_float, gda_config_set_boolean): Changes the type of the key
+ if already existing.
+
2004-02-18 Sergey N. Belinsky <sergey_be mail ru>
+
* gda-ibmdb2-recordset.c: Fixed size of data. Clean up data after use.
* gda-ibmdb2-types.[ch]: Fixed NUMERIC datatype. Message for unsupported datatypes.
* libmain.c: Removed unused options.
2004-02-15 Vivien Malerba <malerba gnome-db org>
+
* libgda/gda-value.c: bugs fixes in gda_value_compare()
2004-02-09 Tomasz Kłoczko <kloczek pld org pl>
Index: libgda/gda-config.c
===================================================================
RCS file: /cvs/gnome/libgda/libgda/gda-config.c,v
retrieving revision 1.55
diff -u -r1.55 gda-config.c
--- libgda/gda-config.c 19 Dec 2003 11:11:03 -0000 1.55
+++ libgda/gda-config.c 23 Feb 2004 21:32:30 -0000
@@ -598,7 +598,9 @@
g_free (section_path);
} else {
g_free (entry->value);
+ g_free (entry->type);
entry->value = g_strdup (new_value);
+ entry->type = g_strdup ("string");
}
write_config_file ();
@@ -642,7 +644,9 @@
g_free (section_path);
} else {
g_free (entry->value);
+ g_free (entry->type);
entry->value = g_strdup_printf ("%d", new_value);
+ entry->type = g_strdup ("long");
}
write_config_file ();
@@ -686,7 +690,9 @@
g_free (section_path);
} else {
g_free (entry->value);
+ g_free (entry->type);
entry->value = g_strdup_printf ("%f", new_value);
+ entry->type = g_strdup ("float");
}
write_config_file ();
@@ -730,7 +736,9 @@
g_free (section_path);
} else {
g_free (entry->value);
+ g_free (entry->type);
entry->value = g_strdup_printf ("%d", new_value);
+ entry->type = g_strdup ("bool");
}
write_config_file ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]