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

Home » FUDforum » FUDforum Installation Issues » Updated MySql 4->5
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Updated MySql 4->5 [message #31148 is a reply to message #31124] Tue, 04 April 2006 23:25 Go to previous messageGo to previous message
marten is currently offline  marten   Germany
Messages: 5
Registered: April 2006
Karma:
Junior Member
mysql> SELECT f.id, f.name, c.name, c.id, CASE WHEN 0 < m.post_stamp AND (fr.last_view IS NULL OR m.post_stamp > fr.last_view) THEN 1 ELSE 0 END AS test FROM phpgw_fud_fc_view v INNER JOIN phpgw_fud_forum f ON f.id=v.f INNER JOIN phpgw_fud_cat c ON c.id=v.c LEFT JOIN phpgw_fud_msg m ON m.id=f.last_post_id LEFT JOIN phpgw_fud_forum_read fr ON fr.forum_id=f.id AND fr.user_id=4 ORDER BY v.id;
... data ...
13 rows in set (0.00 sec)


Well, this supprices me. 'reads' is probably a reserved name for MySql. Because when I change 'AS reads' to 'AS test' everything is fine. Or maybe some server specific variable?

Nobody else the same problem??

I'll will try to make it work by changing the name.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mysql charset changer ( admin control panel)
Next Topic: installation help on iis5
Goto Forum:
  

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

Current Time: Wed Nov 27 14:25:53 GMT 2024

Total time taken to generate the page: 0.05141 seconds