Changeset: f46a7a1e5b0d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f46a7a1e5b0d Modified Files: monetdb5/mal/Tests/tst670.stable.err monetdb5/mal/Tests/tst670.stable.out Branch: Aug2018 Log Message:
Function parsing happens before execution, hence the unexpected "gone". diffs (33 lines): diff --git a/monetdb5/mal/Tests/tst670.stable.err b/monetdb5/mal/Tests/tst670.stable.err --- a/monetdb5/mal/Tests/tst670.stable.err +++ b/monetdb5/mal/Tests/tst670.stable.err @@ -10,6 +10,18 @@ stderr of test 'tst670` in directory 'mo # 09:29:49 > "mclient" "-lmal" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-25470" "--port=39422" # 09:29:49 > +MAPI = (monetdb) /var/tmp/mtest-8241/.s.monetdb.34087 +QUERY = function foo(); + io.print("go"); + end foo; + user.foo(); + clients.quit(); + function foo(); + io.print("gone"); + end foo; + mdb.List("user","foo"); + user.foo(); +ERROR = !MALException:mal.interpreter:prematurely stopped client # 09:29:49 > # 09:29:49 > "Done." diff --git a/monetdb5/mal/Tests/tst670.stable.out b/monetdb5/mal/Tests/tst670.stable.out --- a/monetdb5/mal/Tests/tst670.stable.out +++ b/monetdb5/mal/Tests/tst670.stable.out @@ -29,6 +29,7 @@ Ready. # 09:29:49 > "mclient" "-lmal" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-25470" "--port=39422" # 09:29:49 > +[ "gone" ] # 23:53:05 > # 23:53:05 > Done. _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list