14 lines
438 B
Text
14 lines
438 B
Text
$NetBSD: patch-ae,v 1.1 2005/02/25 17:50:48 drochner Exp $
|
|
|
|
--- libgda/gda-xml-database.c.orig 2004-05-24 19:09:57.000000000 +0200
|
|
+++ libgda/gda-xml-database.c
|
|
@@ -492,6 +492,9 @@ gda_xml_database_save (GdaXmlDatabase *x
|
|
|
|
g_return_val_if_fail (GDA_IS_XML_DATABASE (xmldb), FALSE);
|
|
|
|
+ if (!uri)
|
|
+ uri = xmldb->priv->uri;
|
|
+
|
|
xml = gda_xml_database_to_string (xmldb);
|
|
if (xml) {
|
|
result = gda_file_save (uri, xml, strlen (xml));
|