Kaynağa Gözat

ob-sql: explicitly set \t as field separator on import -- Thanks to Joost Helberg

* lisp/ob-sql.el (org-babel-execute:sql): Explicitly set field
  separator to \t when importing tabular data.
Eric Schulte 14 yıl önce
ebeveyn
işleme
6e450915a7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lisp/ob-sql.el

+ 1 - 1
lisp/ob-sql.el

@@ -80,7 +80,7 @@ This function is called by `org-babel-execute-src-block'."
     (message command)
     (shell-command command)
     (with-temp-buffer
-      (org-table-import out-file nil)
+      (org-table-import out-file '(16))
       (org-babel-reassemble-table
        (org-table-to-lisp)
        (org-babel-pick-name (cdr (assoc :colname-names params))