emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ob-sql.el: fix typo preventing mysql table headers from being parsed
@ 2016-02-09 14:35 Gary Oberbrunner
  2016-02-09 21:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Oberbrunner @ 2016-02-09 14:35 UTC (permalink / raw)
  To: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 672 bytes --]

* ob-sql.el (org-babel-execute:sql): fix typo (introduced in 8c2e232)
which prevented correct parsing of mysql table headers.
---
 lisp/ob-sql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
index 724f7c6..6488afe 100644
--- a/lisp/ob-sql.el
+++ b/lisp/ob-sql.el
@@ -181,7 +181,7 @@ SET COLSEP '|'
  (progn (insert-file-contents-literally out-file) (buffer-string)))
       (with-temp-buffer
  (cond
- ((memq (intern engine) '(dbi myslq postgresql))
+ ((memq (intern engine) '(dbi mysql postgresql))
   ;; Add header row delimiter after column-names header in first line
   (cond
    (colnames-p
-- 
2.7.0


-- 
Gary

[-- Attachment #2: Type: text/html, Size: 1338 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ob-sql.el: fix typo preventing mysql table headers from being parsed
  2016-02-09 14:35 [PATCH] ob-sql.el: fix typo preventing mysql table headers from being parsed Gary Oberbrunner
@ 2016-02-09 21:17 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-02-09 21:17 UTC (permalink / raw)
  To: Gary Oberbrunner; +Cc: Orgmode Mailing List

Hello,

Gary Oberbrunner <garyo@oberbrunner.com> writes:

> * ob-sql.el (org-babel-execute:sql): fix typo (introduced in 8c2e232)
> which prevented correct parsing of mysql table headers.

Applied. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-09 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 14:35 [PATCH] ob-sql.el: fix typo preventing mysql table headers from being parsed Gary Oberbrunner
2016-02-09 21:17 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).