dolt icon indicating copy to clipboard operation
dolt copied to clipboard

Setting the delimiter to begin with `/` causes the dolt shell to incorrectly interpret lines as slash commands.

Open nicktobey opened this issue 8 months ago • 0 comments

Repro:

DELIMITER //

CREATE PROCEDURE create_system_user()
BEGIN
    IF (SELECT COUNT(*) FROM `user_test` where `user_test`.`username` = 'system') = 0 THEN
        INSERT INTO `user_test` (`username`) VALUES ('system');
    END IF;
END; //

Results in:

Unknown command: /. Use `/help;` for a list of command.

nicktobey avatar Jun 13 '24 21:06 nicktobey