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

Home » FUDforum Development » Bug Reports » SQL error log
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
SQL error log [message #18809] Thu, 10 June 2004 15:48 Go to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

My Error log has entries like that below every few days..

I'm running 2.6.3 on Redhat 9..

Is this anything to worry about?

------------------------------------
(index.php) 1100: Table 's' was not locked with LOCK TABLES
Query: SELECT s.id AS sid, s.ses_id, s.data, s.returnto, t.id AS theme_id, t.lang, t.name AS theme_name, t.locale, t.theme, t.pspell_lang, u.alias, u.append_sig, u.show_sigs, u.show_avatars, u.show_im, u.posts_ppg, u.time_zone, u.sig, u.last_visit, u.email_conf, u.last_read, u.default_view, u.is_mod, u.cat_collapse_status, u.ignore_list, u.acc_status, u.ignore_list, u.buddy_list, u.id, u.group_leader_list, u.coppa, u.blocked, u.email, u.login, u.notify, u.pm_notify, u.last_read, u.pm_messages FROM fud21_ses s INNER JOIN fud21_users u ON u.id=(CASE WHEN s.user_id>2000000000 THEN 1 ELSE s.user_id END) INNER JOIN fud21_themes t ON t.id=u.theme WHERE s.ses_id='fc915570d19d5d2bfa85b1f5e1aa08d3'
Server Version: 3.23.54
---------------------------------------

Regards,
Dave



Re: SQL error log [message #18813 is a reply to message #18809] Thu, 10 June 2004 17:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes, this should not happen. This used to happen with old 2.3/2.5 releases in very rare instances for some people. But with 2.6 the query you've shown never occurs inside a lock. Are you sure upgrade procedure went through ok?

Also the error report should've included the line # where the query was executed, but no such line is present. This implies you have a partially completed upgrade or modified 2.6.X sources.


FUDforum Core Developer
Re: SQL error log [message #18815 is a reply to message #18813] Thu, 10 June 2004 17:34 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

Thanks for the prompt reply!

I should just run the upgrade again then?

Cheers,
Dave

Re: SQL error log [message #18816 is a reply to message #18815] Thu, 10 June 2004 17:40 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Admin group manager bug
Next Topic: can't delete a topic
Goto Forum:
  

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

Current Time: Sun Nov 24 16:27:59 GMT 2024

Total time taken to generate the page: 0.02153 seconds