Re: [AMaViS-user] MySQL changes in amavisd-new from 2.2.0 to 2.3.3

This is a discussion on Re: [AMaViS-user] MySQL changes in amavisd-new from 2.2.0 to 2.3.3 within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Dale, > In 2.3.3 the changes are different as shown from the original 2.2.0 > 'SELECT ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-23-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] MySQL changes in amavisd-new from 2.2.0 to 2.3.3

Dale,

> In 2.3.3 the changes are different as shown from the original 2.2.0
> 'SELECT wb FROM wblist,mailaddr ... WHERE (wblist.sid=3Dmailaddr.id)
> 'SELECT wb FROM wblist LEFT JOIN mailaddr ON wblist.sid=3Dmailaddr.id


The change from WHERE to LEFT JOIN ON is mostly cosmetic,
it should work one way or another. SQL clause from 2.2.0
should be able to work just fine in 2.3.3.

=46rom 2.3.0 release notes:
=2D change the default $sql_select_policy and $sql_select_white_black_list =
to
use the LEFT JOIN ... ON instead of WHERE for the 'join' relation; should
be functionally equivalent, but makes the join operation explicit;

Mark


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=...486&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0