Hi,

In message <006e01c29ac2$e001c320$[EMAIL PROTECTED]>,
 `"CALinux" <[EMAIL PROTECTED]>' wrote:
> > CALinux wrote:
> > >  > CALinux wrote:
> > >  > > a blank page as output.
> > >  >
> > >  > Which database?
> >
> > DBM-files (OpenCA::DB), mysql (OpenCA:DBI), postgresql (OpenCA::DBI) ....
> 
> DBM-files (OpenCA::DB), sorry.

The same problem on my machine is cleared by the following
patch.  Even if it could not be a certain fix, the returned
value of 1 from $db->seq() doesn't seem an critical error.

-- 
gotoyuzo

--- DB.pm       2002/11/28 18:19:43     1.1
+++ DB.pm       2002/12/03 13:19:29
@@ -607,7 +607,7 @@ sub getNextItem {
        }
 
        return undef
-               if ($dbstat != 0);
+               if ($dbstat < 0);
 
        ## Return object (if any)
        return $self->getItem( DATATYPE=>$dataType, MODE=>$mode,KEY=>$key);
@@ -640,7 +640,7 @@ sub getPrevItem {
        }
 
        return undef
-               if ($dbstat != 0);
+               if ($dbstat < 0);
 
        ## Return object (if any)
        return $self->getItem( DATATYPE=>$dataType, MODE=>$mode,KEY=>$key);


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to