summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-07-28 07:31:39 -0600
committerEric Schulte <schulte.eric@gmail.com>2010-07-28 07:31:39 -0600
commit4d318e4499f31c19f213400e602470a05ea046b3 (patch)
tree23eb9957f355ec607bfb0d27e645b02b620575b9
parent24bb01afc81d441e910fa1db39d3b5a2397d6589 (diff)
downloadorg-mode-4d318e4499f31c19f213400e602470a05ea046b3.tar.gz
ob-sqlite: now inserts string arguments w/o quotes
* lisp/ob-sqlite.el (org-babel-sqlite-expand-vars): now inserts string arguments w/o quotes
-rw-r--r--lisp/ob-sqlite.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-sqlite.el b/lisp/ob-sqlite.el
index bf818d7..99ae51b 100644
--- a/lisp/ob-sqlite.el
+++ b/lisp/ob-sqlite.el
@@ -118,7 +118,7 @@ This function is called by `org-babel-execute-src-block'."
(format "%S" el)))))))
data-file)
(make-temp-file "ob-sqlite-data"))
- (format "%S" val)))
+ (if (stringp val) val (format "%S" val))))
(cdr pair))
body)))
vars)