Hia all!

Playing around with AnyData I found adConvert and adExport (which
calls adConvert to do the work) not working.

Looking at the code it seems that get_undeleted_record() returns
a row as string, while it seems that every function calling
get_undeleted_record() assumes it gets a reference to an array of
fields (which make up the row).

I found it works better with this patch.  I haven't tested it
much, though.  Thoughts?  Comments?


--- AnyData.pm-old      Tue May 21 15:42:46 2002
+++ AnyData.pm  Tue May 21 15:42:36 2002
@@ -363,7 +363,9 @@
             and $rec =~ $self->{parser}->{skip_pattern};
         last;
     }
-    return $rec;
+    my @fields = $self->{parser}->read_fields($rec);
+    return \@fields;
 }
 sub update_single_row {
     my $self     = shift;

Reply via email to