From 267e11478060cf64ca29b7a145cc26d3b5339ed0 Mon Sep 17 00:00:00 2001 From: flintforge Date: Tue, 15 Oct 2024 12:01:05 +0200 Subject: [PATCH] add a terminal ';' to ending statement --- ob-sql-session.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ob-sql-session.el b/ob-sql-session.el index e361109..47bd64d 100644 --- a/ob-sql-session.el +++ b/ob-sql-session.el @@ -384,7 +384,7 @@ Finnally add the termination command." (replace-regexp-in-string "--.*" "" s)) ;; remove comments (when (string-match terminal-command s) "\n")))) commands " " )) ; the only way to stop on error, - "\n" (sql-get-product-feature sql-product :batch-terminate) "\n" )) + ";\n" (sql-get-product-feature sql-product :batch-terminate) "\n" )) (defun ob-sql-session-comint-output-filter (_proc string)