mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-24 07:20:29 +00:00
Revert "lisp/ob-sql.el: Prevent from getting stuck with an error"
This reverts commit45ca597f96
. Another commit handles the problem more universally:a3ebd8c66
.
This commit is contained in:
parent
a3ebd8c669
commit
c88da815ed
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user