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

Server crash when using bitwise NOT operation in SQL query #3814

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

Server crash when using bitwise NOT operation in SQL query #3814

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

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2015-10-01 13:26:04 +0200
From: Sherzod Mutalov <>
To: SQL devs <>
Version: 11.21.5 (Jul2015)

Last updated: 2015-11-03 10:18:46 +0100

Comment 21313

Date: 2015-10-01 13:26:04 +0200
From: Sherzod Mutalov <>

User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Build Identifier:

Server crashes when trying to execute(parse) SQL query, which contains bitwise NOT operation. After crash server can started up.

Reproducible: Always

Steps to Reproduce:

  1. Execute SQL query: SELECT ~0;

Actual Results:

mserver5 unexpectedly crashes

Expected Results:

-1

mserver5 --version

MonetDB 5 server v11.21.5 "Jul2015" (64-bit, 64-bit oids)
Copyright (c) 1993-July 2008 CWI
Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved
Visit http://www.monetdb.org/ for further information
Found 15.9GiB available memory, 4 available cpu cores
Libraries:
libpcre: 8.33 2013-05-28
openssl: OpenSSL 1.0.2c 12 Jun 2015
libxml2: 2.9.2
Compiled by: %USER%@shmutalov (x86_64-pc-winnt)
Compilation: cl -GF -W3 -MD -nologo -Ox -Zi -Oi
Linking : cl -GF -W3 -MD -nologo -Ox -Zi -Oi

Comment 21316

Date: 2015-10-01 14:21:38 +0200
From: MonetDB Mercurial Repository <>

Changeset 33b08c60a45e made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=33b08c60a45e

Changeset description:

~ is a unary operator, not a binary one.
This fixes bug #3814.

Comment 21454

Date: 2015-11-03 10:18:46 +0100
From: @sjoerdmullender

Jul2015 SP1 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant