[Bio] / Sprout / DBQuery.pm Repository:
ViewVC logotype

Diff of /Sprout/DBQuery.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Fri Feb 25 18:41:45 2005 UTC revision 1.3, Wed May 4 03:24:43 2005 UTC
# Line 4  Line 4 
4          use DBKernel;          use DBKernel;
5          use DBObject;          use DBObject;
6          use DBI;          use DBI;
         use Carp;  
7          use Tracer;          use Tracer;
8    
9  =head1 Entity-Relationship Database Package Query Iterator  =head1 Entity-Relationship Database Package Query Iterator
# Line 66  Line 65 
65                  Trace("No result from query.") if T(3);                  Trace("No result from query.") if T(3);
66                  # Here we have no result. If we're at the end of the result set, this is okay, because                  # Here we have no result. If we're at the end of the result set, this is okay, because
67                  # we'll be returning an undefined value in $retVal. If an error occurred, we need to abort.                  # we'll be returning an undefined value in $retVal. If an error occurred, we need to abort.
68                  if ($sth->err != 0) {                  if ($sth->err) {
69                          Confess("FETCH error");                          Confess("FETCH error");
70                  }                  }
71          } else {          } else {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3