Revert "lisp/ob-sql.el: Prevent from getting stuck with an error"

This reverts commit 45ca597f96.

Another commit handles the problem more universally: a3ebd8c66.
This commit is contained in:
Ihor Radchenko 2024-02-29 15:05:19 +03:00
parent a3ebd8c669
commit c88da815ed
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 3 deletions

View File

@ -113,9 +113,7 @@
Set `sql-product' in Org edit buffer according to the
corresponding :engine source block header argument."
(let ((product (cdr (assq :engine (nth 2 info)))))
(condition-case nil
(sql-set-product product)
(user-error "Cannot set `sql-product' in Org Src edit buffer"))))
(sql-set-product product)))
(defun org-babel-sql-dbstring-mysql (host port user password database)
"Make MySQL cmd line args for database connection. Pass nil to omit that arg."