[exim-dev] [Bug 965] New: Cannot execute mysql stored proced…

Pàgina inicial
Delete this message
Reply to this message
Autor: Alain Williams
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 965] New: Cannot execute mysql stored procedure
------- 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: nigel@???
        ReportedBy: addw@???
                CC: exim-dev@???



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