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

Fixed panic on mapping columns to settings #676

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

Zhaars
Copy link
Contributor

@Zhaars Zhaars commented Oct 4, 2023

Checklist

@Zhaars Zhaars requested a review from Lagovas October 4, 2023 11:57
@@ -1026,7 +1026,7 @@ func (proxy *PgProxy) handleQueryDataPacket(ctx context.Context, packet *PacketH
format = int(boundFormat)
}
var encryptionSetting config.ColumnEncryptionSetting = nil
if encryptionSettings != nil && i <= len(encryptionSettings) && encryptionSettings[i] != nil {
if encryptionSettings != nil && i < len(encryptionSettings) && encryptionSettings[i] != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

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

😅

@Zhaars Zhaars merged commit 1194aa8 into master Oct 5, 2023
11 checks passed
@Zhaars Zhaars deleted the zhars/fixed_panic_on_mapping_settings_to_columns branch September 12, 2024 17:10
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.

3 participants