From 2196096cdecde82c9af8695422ae3f6c5fa42ff1 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 10 Mar 2013 15:34:56 -0600 Subject: [PATCH] don't read sqlite output as lisp Thanks to Michael Gauland for pointing out this bug. * lisp/ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read sqlite output as lisp. --- lisp/ob-sqlite.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-sqlite.el b/lisp/ob-sqlite.el index 30bfc73..84d4688 100644 --- a/lisp/ob-sqlite.el +++ b/lisp/ob-sqlite.el @@ -143,7 +143,7 @@ This function is called by `org-babel-execute-src-block'." (mapcar (lambda (row) (if (equal 'hline row) 'hline - (mapcar #'org-babel-read row))) result))) + (mapcar #'org-babel-string-read row))) result))) (defun org-babel-sqlite-offset-colnames (table headers-p) "If HEADERS-P is non-nil then offset the first row as column names." -- 1.8.1.5