Skip to content

Error while calling MySQL Stored Procedure #34

@fjordansilva

Description

@fjordansilva

Hi I'm using this great module in my project but I'm getting an error when I call to stored procedures in MySQL (v5.6.16)

// STORED PROCEDURE:
DROP PROCEDURE IF exists helloWorld;
DELIMITER $$
CREATE PROCEDURE helloWorld ()
BEGIN
SELECT user_id, user_name FROM gbl_users;
END $$

// ERROR:
Received an error message -> ErrorMessage(1312,#0A000,PROCEDURE alfrescodb.helloWorld can't return a result set in the given context)

I'm calling the procedure as a "raw" sql.
{
"action": "raw",
"command": "call helloWorld()"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions