DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17900>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17900

keys() will not return first session

           Summary: keys() will not return first session
           Product: Tomcat 4
           Version: 4.1.22
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I want to thank Glenn for implementing my patch to the keys() method.   But in the 
process of doing so, a minor new bug was introduced.

The patch contains a line of the form:
   if (rst != null) {
which was changed to
   if (rst != null && rst.next()) {
When we hit the while(rst.next()) loop, the first record will be skipped.

Perhaps that should be,
   if (rst != null && !rst.isAfterLast()) {
instead?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to