FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » paging bug for postgresql
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
paging bug for postgresql [message #8531] Wed, 05 February 2003 17:04 Go to previous message
laser is currently offline  laser   China
Messages: 9
Registered: January 2003
Karma:
Junior Member
in $FUDFORUM/install/forum_data/src/th.inc.t,
around line 322:
(pos-(CEIL(pos/40)-1)*40)
should be
(pos-(CEIL(pos/40.0)-1)*40)
I think.
and, for postgresql,
ceil(pos/40::float) is the equivalance of
ceil(pos/40.0)
I think it's not good to hard code the THREADS_PER_PAGE in pgsql
code.

thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Backup Forum (vers. 2.3.6)
Next Topic: sql error when anonymous has no rights
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Jul 09 13:36:30 GMT 2024

Total time taken to generate the page: 0.05059 seconds