On Tue, Dec 23, 2014 at 5:34 PM, Gary Oberbrunner <ga...@oberbrunner.com>
wrote:

> 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?
>

Here's a simple patch to fix this, if people are interested.

-- 
Gary

Attachment: 0001-Allow-empty-table-creation-on-export-rather-than-giv.patch
Description: Binary data

Reply via email to