[gnome-db] [PATCH] fix missing clear value
- From: Szalai Ferenc <szferi einstein ki iif hu>
- To: GDA <gnome-db-list gnome org>
- Subject: [gnome-db] [PATCH] fix missing clear value
- Date: Sun, 15 Aug 2004 11:02:47 +0200
Hello
Once again a very little patch which fix the missgin clear of value if
the GdaValue type is GDA_VALUE_TYPE_TYPE.
Index: gda-value.c
===================================================================
RCS file: /cvs/gnome/libgda/libgda/gda-value.c,v
retrieving revision 1.66
diff -u -r1.66 gda-value.c
--- gda-value.c 1 Aug 2004 10:21:33 -0000 1.66
+++ gda-value.c 15 Aug 2004 08:59:06 -0000
@@ -84,6 +84,9 @@
g_free (value->value.v_numeric.number);
value->value.v_numeric.number = NULL;
break;
+ case GDA_VALUE_TYPE_TYPE:
+ value->value.v_type = GDA_VALUE_TYPE_NULL;
+ break;
default :
break;
}
--
Regards,
Ferenc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]