Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAL parser accepts 1 + 1 + 1, MAL interpreter only computes 1 + 1 #2733

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed
Labels
bug Something isn't working MAL/M5 normal

Comments

@monetdb-team
Copy link

Date: 2010-11-26 12:47:01 +0100
From: @swingbit
To: MonetDB5 devs <>
Version: 5.22.1 (Oct2010) [obsolete]
CC: @mlkersten

Last updated: 2011-03-28 17:31:40 +0200

Comment 15228

Date: 2010-11-26 12:47:01 +0100
From: @swingbit

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.208 Safari/534.10
Build Identifier:

It seems the MAL parser and the MAL interpreter don't quite agree on the result of 1 + 1 + 1.

Reproducible: Always

Steps to Reproduce:

  1. v := 1 + 1 + 1;
  2. io.print(v);

Actual Results:

[ 2 ]

Expected Results:

Either:
[3]

Or:
Syntax error

$ mserver5 --version
MonetDB server v5.22.1 (64-bit), based on kernel v1.40.1 (64-bit oids)
Not released
Copyright (c) 1993-July 2008 CWI
Copyright (c) August 2008-2010 MonetDB B.V., all rights reserved
Visit http://monetdb.cwi.nl/ for further information
Found 2.0GiB available memory, 4 available cpu cores
Configured for prefix: /export/scratch0/roberto/svn.spinque.com/lhm_code/IndexCenter/MonetDB/MonetDB.Spinque_Oct2010/MonetDB
Libraries:
libpcre: 7.8 2008-09-05 (compiled with 7.8)
openssl: OpenSSL 1.0.0a 1 Jun 2010 (compiled with OpenSSL 1.0.0a-fips 1 Jun 2010)
libxml2: 2.7.6 (compiled with 2.7.6)
Compiled by: roberto@skadi.ins.cwi.nl (x86_64-unknown-linux-gnu)
Compilation: gcc -Wall -Wextra -fno-strict-aliasing -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2
Linking : /usr/bin/ld -IPA -m elf_x86_64

Comment 15229

Date: 2010-11-26 21:05:47 +0100
From: @mlkersten

Fixed by introducing better warnings in the MAL parser

Comment 15649

Date: 2011-03-28 17:31:40 +0200
From: @sjoerdmullender

The Mar2011 version has been released.

@monetdb-team monetdb-team added bug Something isn't working MAL/M5 normal labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MAL/M5 normal
Projects
None yet
Development

No branches or pull requests

2 participants