Skip to content

Lost Connection after calling Stored Procedure for ProxySQL v2.0.4 #2059

Open
@jonathanvx

Description

@jonathanvx
DELIMITER $$
CREATE PROCEDURE tester()
  SQL SECURITY INVOKER
  BEGIN
    -- A multi select
    SELECT 1;
    SELECT 2;
    SELECT 3;
    SELECT 4;

  END$$

DELIMITER ;
mysql> call tester();
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)

+---+
| 2 |
+---+
| 2 |
+---+
1 row in set (0.00 sec)

+---+
| 3 |
+---+
| 3 |
+---+
1 row in set (0.00 sec)

+---+
| 4 |
+---+
| 4 |
+---+
1 row in set (0.00 sec)

ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions