From 15be8212d343d5775e9cbb5b8cf7644340fdbb15 Mon Sep 17 00:00:00 2001 From: Phil Estival Date: Fri, 17 Jan 2025 04:52:42 +0100 Subject: [PATCH 10/11] ob-sql: restore support for sqlite --- lisp/ob-sql.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el index 46f10c8e9..0489e466f 100644 --- a/lisp/ob-sql.el +++ b/lisp/ob-sql.el @@ -358,6 +358,9 @@ This function is called by `org-babel-execute-src-block'." (org-babel-process-file-name in-file) "/^+/d;s/^|//;s/(NULL)/ /g;$d" (org-babel-process-file-name out-file))) + (sqlite (format "sqlite3 < %s > %s" + (org-babel-process-file-name in-file) + (org-babel-process-file-name out-file))) (monetdb (format "mclient -f tab %s < %s > %s" (or cmdline "") (org-babel-process-file-name in-file) -- 2.39.5