Mercurial > urweb
diff src/compiler.sml @ 1394:d328983dc5a6
Allow subqueries to reference aggregate-only columns of free tables; treat non-COUNT aggregate functions as possibly returning NULL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 15 Jan 2011 14:53:13 -0500 |
parents | 802c179dac1f |
children | 115d217bbfbc |
line wrap: on
line diff
--- a/src/compiler.sml Thu Jan 13 18:15:04 2011 -0500 +++ b/src/compiler.sml Sat Jan 15 14:53:13 2011 -0500 @@ -1311,9 +1311,15 @@ (compile, link) val link = foldl (fn (s, link) => link ^ " " ^ s) link link' + + fun system s = + (if debug then + print (s ^ "\n") + else + (); + OS.Process.isSuccess (OS.Process.system s)) in - OS.Process.isSuccess (OS.Process.system compile) - andalso OS.Process.isSuccess (OS.Process.system link) + system compile andalso system link end fun compile job =