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

Home » FUDforum Development » Bug Reports » Problems with MySQL 5.5 (NEVER MAKE Forum Consistency!!!)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problems with MySQL 5.5 [message #164849 is a reply to message #164848] Fri, 18 March 2011 06:39 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Apply this patch to adm/consist.php:

if (__dbtype__ == 'mysql') {	// MySQL is full of crap (can't specify target table for update in FROM).
-	q('DELETE '. $tbl .' '. substr($q, 7, strpos($q, '.') - 7) .' '. strstr($q, 'FROM'));
+	q('DELETE '. substr($q, 7, strpos($q, '.') - 7) .' '. strstr($q, 'FROM'));

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: url tags and {link} not working on feed capture
Next Topic: NNTP Import Stalls
Goto Forum:
  

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

Current Time: Fri Nov 29 04:53:05 GMT 2024

Total time taken to generate the page: 0.04713 seconds