Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8044)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8045)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+ 2006/10/10 Thomas Bretz
+
+   * datacenter/macros/writesequencefile.C:
+     - fixed a possible crash in GetName
+
+
+
  2006/10/10 Daniela Dorner
 
Index: trunk/MagicSoft/Mars/datacenter/macros/writesequencefile.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/writesequencefile.C	(revision 8044)
+++ trunk/MagicSoft/Mars/datacenter/macros/writesequencefile.C	(revision 8045)
@@ -102,5 +102,5 @@
 
     TSQLRow *row = res->Next();
-    return (*row)[0];
+    return row ? (*row)[0] : "";
 }
 
