mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.43k stars 291 forks source link

Cannot run function/procedure definition #1220

Closed abdelhaqelamraoui closed 8 months ago

abdelhaqelamraoui commented 9 months ago

Describe the bug The extension cannot run definitions of functions and procedures. For example, with the simple function: DELIMITER $$ CREATE FUNCTION test() returns INT deterministic BEGIN RETURN 1; END $$ DELIMITER ; It returns the following error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER $$

Expected behavior No errors.

Screenshots image

Desktop (please complete the following information):

gjsjohnmurray commented 8 months ago

Duplicate of #529