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

Fix bug during copy when in the config the value of pool_reserve_prepared_statement is equal to yes #562

Conversation

NikitaUnisikhin
Copy link
Collaborator

No description provided.

@NikitaUnisikhin NikitaUnisikhin changed the title Fixed bug during copy when in the config the value of pool_reserve_prepared_statement is equal to yes Fix bug during copy when in the config the value of pool_reserve_prepared_statement is equal to yes Jan 26, 2024
@@ -996,7 +996,7 @@ static od_frontend_status_t od_frontend_remote_client(od_relay_t *relay,
"%s", kiwi_fe_type_to_string(type));

od_frontend_status_t retstatus = OD_OK;
machine_msg_t *msg;
machine_msg_t *msg = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

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

msg = NULL; in separate line, all declaraion at the beginning of the scope.
no declaration and assign on same line
try to compile with -pedantic

@NikitaUnisikhin NikitaUnisikhin force-pushed the copy_pool_reserve_prepared_statement_bug_fix branch from 1376e6e to a5474f3 Compare January 28, 2024 12:49
@reshke reshke merged commit 806aebd into yandex:master Jan 28, 2024
1 check passed
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.

2 participants