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

Compilation error if DISABLE_PARENT_HASH not defined #6405

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

Compilation error if DISABLE_PARENT_HASH not defined #6405

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

Comments

@monetdb-team
Copy link

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

Date: 2017-09-11 11:15:12 +0200
From: @swingbit
To: GDK devs <>
Version: 11.27.5 (Jul2017-SP1)

Last updated: 2017-10-26 14:01:34 +0200

Comment 25625

Date: 2017-09-11 11:15:12 +0200
From: @swingbit

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

In gdk_batop.c:BATkeyed()

ifndef DISABLE_PARENT_HASH
|| ((parent = VIEWtparent(b)) != 0 &&
BATcheckhash(BBPdescriptor(parent)))
endif
) {

Variable parent is not declared when DISABLE_PARENT_HASH is not defined:

src/gdk/gdk_batop.c: In function ‘BATkeyed’:
src/gdk/gdk_batop.c:960:12: error: ‘parent’ undeclared (first use in this function)
|| ((parent = VIEWtparent(b)) != 0 &&
^~~~~~

Reproducible: Always

Comment 25626

Date: 2017-09-11 11:24:29 +0200
From: MonetDB Mercurial Repository <>

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

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

Changeset description:

'parent' undeclared.
Fixes bug #6405.
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