[Bug 667] New: limit / offset break collection

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 667] New: limit / offset break collection

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=667

           Summary: limit / offset break collection
           Product: Helma
           Version: CVS trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Database Layer
        AssignedTo: helma-dev@...
        ReportedBy: nostalgiker@...


when i set limit and offset on a normal collection helma never loads the
collections items - the collection stays empty. i can add things to it, that
works. but the items already in db don't get loaded.

this is most likly due to this broken COUNT sql issued by helma when i first
access the colleciton:

SQL SELECT_COUNT T_STORY 22: SELECT * FROM ( SELECT /*+ FIRST_ROWS(n) */ a.*,
ROWNUM rnum FROM (SELECT count(*) FROM T_STORY WHERE
T_STORY.STO_F_SIT_PARENTSITE = 1600000) a WHERE ROWNUM <= 15) WHERE rnum > 5


released                = collection (Story)
released.local          = SIT_ID
released.foreign        = STO_F_SIT_PARENTSITE
released.order          = STO_CREATETIME desc
released.limit = 10
released.offset = 5

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 667] limit / offset break collection

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=667


Hannes Wallnoefer <hannes@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hannes@...
         Resolution|                            |FIXED
   Target Milestone|---                         |1.7.0




--- Comment #1 from Hannes Wallnoefer <hannes@...>  2009-05-29 17:17:30 ---
Fixed in svn.

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev