Describe the bug
When executing a stored procedure that returns multiple result sets, Antares SQL only displays the first result set. The remaining result sets are not shown.
The same stored procedure returns all result sets correctly when executed in MySQL Workbench.
To Reproduce
- Connect to a MySQL database using Antares SQL.
- Execute a stored procedure that returns multiple result sets (multiple SELECT statements).
- Observe that only the first result set is displayed.
- Execute the same stored procedure in MySQL Workbench.
- Observe that all result sets are returned correctly.
Expected behavior
Antares SQL should display all result sets returned by the stored procedure, similar to MySQL Workbench and other MySQL clients.
Screenshots
Providing screenshots for comparing the output from Antares SQL and MySQL Workbench.
MySQL Workbench
Antares SQL
Application (please complete the following information):
Environment (please complete the following information):
- OS name: Windows 11 Pro
- OS version: 25H2
- DB name: MySQL
- DB version: 8.0.46-0ubuntu0.24.04.3
Additional context
The stored procedure intentionally returns multiple result sets using multiple SELECT statements.
Example:
CREATE PROCEDURE sp_test()
BEGIN
SELECT 'First result' AS message;
SELECT 'Second result' AS message;
SELECT 'Third result' AS message;
END;
Expected output:
Result Set 1: First result
Result Set 2: Second result
Result Set 3: Third result
Actual behavior in Antares SQL:
- Only Result Set 1 is displayed.
Actual behavior in MySQL Workbench:
- All three result sets are displayed correctly.
I'm not sure whether this is a missing feature or a bug, but it prevents working with stored procedures that intentionally return multiple result sets.
Describe the bug
When executing a stored procedure that returns multiple result sets, Antares SQL only displays the first result set. The remaining result sets are not shown.
The same stored procedure returns all result sets correctly when executed in MySQL Workbench.
To Reproduce
Expected behavior
Antares SQL should display all result sets returned by the stored procedure, similar to MySQL Workbench and other MySQL clients.
Screenshots
Providing screenshots for comparing the output from Antares SQL and MySQL Workbench.
MySQL Workbench
Antares SQL
Application (please complete the following information):
Environment (please complete the following information):
Additional context
The stored procedure intentionally returns multiple result sets using multiple SELECT statements.
Example:
Expected output:
Result Set 1:
First resultResult Set 2:
Second resultResult Set 3:
Third resultActual behavior in Antares SQL:
Actual behavior in MySQL Workbench:
I'm not sure whether this is a missing feature or a bug, but it prevents working with stored procedures that intentionally return multiple result sets.