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

Home » FUDforum Development » Bug Reports » INNER JOIN on mysql 3.22.32 broken?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
INNER JOIN on mysql 3.22.32 broken? [message #2844] Sat, 01 June 2002 19:55 Go to previous message
jdibbelt   Germany
Messages: 2
Registered: June 2002
Karma:
Junior Member
Hi!

When FUDforum2 tries to do sth. like:

select user_id from fud2_mod INNER JOIN fud2_users ON fud2_users.id=fud2_mod.user_id WHERE fud2_users.is_mod!='A' GROUP BY user_id;

this happens on mysql 3.22.32:

ERROR 1064: You have an error in your SQL syntax near 'ON fud2_users.id=fud2_mod.user_id WHERE fud2_users.is_mod!='A' GROUP BY user_id' at line 1

I've tried the equivalent syntax for INNER JOIN's which is working:

mysql> select user_id from fud2_mod, fud2_users WHERE fud2_users.id=fud2_mod.user_id AND fud2_users.is_mod!='A' GROUP BY user_id;
Empty set (0.00 sec)

So, what I'm to do? Recode most of the mysql queries?

btw: the mysql server is hosted by an isp so I can't just update.

Tschüß,
Julian D.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: SQL error when editing post (RC3)
Next Topic: moderation error
Goto Forum:
  

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

Current Time: Thu Sep 19 21:36:49 GMT 2024

Total time taken to generate the page: 0.05384 seconds