Jelajahi Sumber

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.
Eric Schulte 12 tahun lalu
induk
melakukan
cc756ecac9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lisp/ob-sqlite.el

+ 1 - 1
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."