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

s3select: remove compilation warnings #156

Merged
merged 1 commit into from
May 3, 2024

Conversation

ivancich
Copy link
Member

@ivancich ivancich commented May 2, 2024

One warning prevents rgw compilation against 15.0.0. This removes one additional warning in which a deprecated version of a function was called.

One warning prevents rgw compilation against 15.0.0. This removes one
additional warning in which a deprecated version of a function was
called.

Signed-off-by: J. Eric Ivancich <[email protected]>
@ivancich ivancich requested a review from galsalomon66 May 2, 2024 17:00
@@ -434,7 +434,7 @@ class RGWimpl : public ObjectInterface {
#if ARROW_VERSION_MAJOR < 9
fd_ = -1;
#else
fd_.Close();
return fd_.Close();

Choose a reason for hiding this comment

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

👍

@@ -1244,9 +1244,13 @@ void SerializedFile::ParseMetaDataOfEncryptedFileWithEncryptedFooter(
std::to_string(metadata_buffer->size()) + " bytes)");
}

#if ARROW_VERSION_MAJOR > 9
file_metadata_ =
FileMetaData::Make(metadata_buffer->data(), &metadata_len, default_reader_properties(), file_decryptor_);

Choose a reason for hiding this comment

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

👍

@galsalomon66 galsalomon66 merged commit f333ec8 into ceph:master May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants