diff --git a/src/sources/mysql.lisp b/src/sources/mysql.lisp index 1664c9b..08592a8 100644 --- a/src/sources/mysql.lisp +++ b/src/sources/mysql.lisp @@ -365,6 +365,11 @@ (loop for (table-name . columns) in (append all-columns view-columns) + + unless columns + do (log-message :error "Table ~s not found, skipping." table-name) + + when columns do (let* ((encoding ;; force the data encoding when asked to diff --git a/test/parse/hans.goeuro.load b/test/parse/hans.goeuro.load index b8e6ab9..11afbda 100644 --- a/test/parse/hans.goeuro.load +++ b/test/parse/hans.goeuro.load @@ -16,7 +16,7 @@ LOAD DATABASE column enumerate.foo using empty-string-to-null - MATERIALIZE VIEWS + MATERIALIZE VIEWS nonexisting, d as $$ select cast(d as date) as d, count(*) as n from plop