On 31-10-13 23:17, John Beaudin wrote:

> *$ ./configure --prefix=/usr --with-sieve --with-mysql --sysconfdir=/etc *

--with-mysql is redundant and ignored.

> Oct 31 17:53:22 dbmail1.localdo dbmail-export[32975]: [0xe3df90]
> Debug:[mailbox] append_search(+504): [0xe88560] leaf [1] type [7] field
> [subject] search [x] at depth [1]


the search argument was parsed

....

> Oct 31 17:53:22 dbmail1.localdo dbmail-export[32975]: [0xe3df90]
> Database:[db] db_stmt_prepare(+409): [0xe4c520] [SELECT message_idnr
> FROM dbmail_messages m LEFT JOIN dbmail_header h USING (physmessage_id)
> LEFT JOIN dbmail_headername n ON h.headername_id = n.id <http://n.id>
> LEFT JOIN dbmail_headervalue v ON h.headervalue_id = v.id <http://v..id>
> WHERE mailbox_idnr=? AND status IN (?,?) AND m.message_idnr IN
> (42773,42775) AND n.headername = 'subject' AND v.headervalue LIKE ?
> ORDER BY message_idnr]

there you have the actual query


> Oct 31 17:53:22 dbmail1.localdo dbmail-export[32975]: [0xe3df90]
> Debug:[mailbox] _do_search(+1743): [0xe88560] depth [2] type [7] rows [1]

which finds only one row

> Debug:[mailbox] dbmail_mailbox_search(+1863): found [1] ids

....

but it still looks like the search result is ignored.

> 
> *# I notice the dbmail_subjectfield doesn't appear in /tmp/debug.out

yes it does.

> (see above)  as a query term. Searching from a mail client works OK.*

Such a failure would have been caught by the jenkins tests.


Like I said; the results from the search arguments were being ignored.
Fixed that now.



-- 
________________________________________________________________
Paul J Stevens       pjstevns @ gmail, twitter, github, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to