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

Sqlitelogictest crash on complex case statement #6594

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Sqlitelogictest crash on complex case statement #6594

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working minor SQL

Comments

@monetdb-team
Copy link

Date: 2018-04-29 11:33:57 +0200
From: @PedroTadim
To: SQL devs <>
Version: 11.29.3 (Mar2018)
CC: @njnes

Last updated: 2018-06-20 11:02:16 +0200

Comment 26413

Date: 2018-04-29 11:33:57 +0200
From: @PedroTadim

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Build Identifier:

Run the query bellow for an assertion error during compilation.

Reproducible: Always

Steps to Reproduce:

  1. SELECT ALL + 62 * + - ( CASE WHEN NULL NOT IN ( CAST ( CAST ( - 77 AS INTEGER ) AS INTEGER ) ) THEN NULL WHEN ( NULL ) NOT IN ( 94 * COUNT ( * ) ) THEN + ( NULLIF ( 45, 80 + 90 ) ) - COUNT ( * ) ELSE NULL END ) AS col2;

Actual Results:

Assertion error
mserver5: rel_bin.c:576: exp_bin: Assertion `s' failed.

Expected Results:

A single NULL value.

The backtrace is already known from previous bugs :)

Comment 26415

Date: 2018-04-29 11:39:20 +0200
From: MonetDB Mercurial Repository <>

Changeset dede692aec19 made by Pedro Ferreira pedro.ferreira@monetdbsolutions.com in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=dede692aec19

Changeset description:

Added tests for bugs 6577 and 6594

Comment 26429

Date: 2018-05-10 12:01:19 +0200
From: MonetDB Mercurial Repository <>

Changeset 439cd2cddb4c made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=439cd2cddb4c

Changeset description:

fixes for bugs 6594 and 6595

6595, disabled optimizers based on arguments (A...) as
these are passed after the optimizer is run

Also approved output after recent changes on system functions

Comment 26450

Date: 2018-05-17 08:06:00 +0200
From: MonetDB Mercurial Repository <>

Changeset 1d3a15ef3aee made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=1d3a15ef3aee

Changeset description:

added stable output for bug #6602 (and correct for bugs 6530 and 6594)
@monetdb-team monetdb-team added bug Something isn't working minor SQL labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 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 minor SQL
Projects
None yet
Development

No branches or pull requests

2 participants