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

[CBRD-25779] Refactor Temporary Memory Buffer to Use FILEIO_PAGE Structure #5764

Draft
wants to merge 1 commit into
base: feature/temp_file
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/communication/network_interface_sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -5392,7 +5392,7 @@ sqmgr_execute_query (THREAD_ENTRY * thread_p, unsigned int rid, char *request, i
}

memcpy (aligned_page_buf, page_ptr, page_size);
qmgr_free_old_page_and_init (thread_p, page_ptr, list_id->tfile_vfid);
QMGR_FREE_OLD_PAGE_AND_INIT (thread_p, page_ptr);
page_ptr = aligned_page_buf;

/* for now, allow end query if there is only one page and more ... */
Expand Down Expand Up @@ -5907,7 +5907,7 @@ sqmgr_prepare_and_execute_query (THREAD_ENTRY * thread_p, unsigned int rid, char

/* to free page_ptr early */
memcpy (aligned_page_buf, page_ptr, page_size);
qmgr_free_old_page_and_init (thread_p, page_ptr, q_result->tfile_vfid);
QMGR_FREE_OLD_PAGE_AND_INIT (thread_p, page_ptr);
}
else
{
Expand Down
Loading
Loading