------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=965
           Summary: Cannot execute mysql stored procedure
           Product: Exim
           Version: 4.71
          Platform: All
        OS/Version: Linux
            Status: NEW
          Keywords: work:tiny
          Severity: bug
          Priority: medium
         Component: Lookups
        AssignedTo: ni...@exim.org
        ReportedBy: a...@phcomp.co.uk
                CC: exim-dev@exim.org


Created an attachment (id=379)
 --> (http://bugs.exim.org/attachment.cgi?id=379)
Patch to fix the bug

Any attempt to execute a stored procedure results in:

MYSQL: query failed: PROCEDURE  can't return a result set in the given context

This is because the option CLIENT_MULTI_RESULTS is needed.

Stored functions work.

I attach a patch to exim-4.71/src/lookups/mysql.c that fixes this.


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details 
at http://www.exim.org/ ##

Reply via email to