Skip to content

Fixed bug #8203 : Function MAKE_DBKEY may produce random errors if used with relation name #8204

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

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

hvlad
Copy link
Member

@hvlad hvlad commented Aug 4, 2024

Also, corrected handling of non-ASCII tables names.

…ed with relation name

Also, corrected handling of non-ASCII tables names.
@hvlad hvlad self-assigned this Aug 4, 2024
@hvlad hvlad linked an issue Aug 4, 2024 that may be closed by this pull request
@hvlad hvlad merged commit 083ea10 into v5.0-release Aug 5, 2024
48 checks passed
hvlad added a commit that referenced this pull request Aug 7, 2024
Fixed bug #8203 : Function MAKE_DBKEY may produce random errors if used with relation name
@hvlad hvlad deleted the work/gh-8203 branch August 7, 2024 05:44
@@ -12306,7 +12306,9 @@ DmlNode* SysFuncCallNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerScrat

if (literal && literal->litDesc.isText())
{
const MetaName relName = literal->getText();
MetaName relName;
CVT2_make_metaname(&literal->litDesc, name, tdbb->getAttachment()->att_dec_status);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be relName, not name here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I was sure I checked it :(

dyemanov pushed a commit that referenced this pull request Nov 16, 2024
Fixed bug #8203 : Function MAKE_DBKEY may produce random errors if used with relation name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Function MAKE_DBKEY may produce random errors if used with relation name
3 participants