From: Gary Oberbrunner <garyo@oberbrunner.com>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: sql can't export an empty table, gives error
Date: Tue, 23 Dec 2014 17:34:09 -0500 [thread overview]
Message-ID: <CAFChFyh_Yd2XPSS9izyo95g23cKgGpTpHp4KrXXqgA2wpbbJoQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
If you try to export this document:
#+BEGIN_SRC sql :exports both
select 1 limit 0;
#+END_SRC
It fails to export with an error in *Messages*:
user-error: Empty table - created default table
It also stops processing the document at that point.
(That SQL code produces no output but is not a SQL error.)
I'd prefer if it would just leave that empty (missing) table out, and keep
going. Is there any way to do that?
--
Gary
[-- Attachment #2: Type: text/html, Size: 648 bytes --]
next reply other threads:[~2014-12-23 22:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-23 22:34 Gary Oberbrunner [this message]
2014-12-24 14:55 ` sql can't export an empty table, gives error Gary Oberbrunner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFChFyh_Yd2XPSS9izyo95g23cKgGpTpHp4KrXXqgA2wpbbJoQ@mail.gmail.com \
--to=garyo@oberbrunner.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.