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-20291] fix vacuum to correctly follow the page chain when deallocates a non-first vacuum data page. #86

Merged
merged 1 commit into from Jun 2, 2016

Conversation

eseokoh
Copy link
Contributor

@eseokoh eseokoh commented Jun 2, 2016

This is a slip of CBRD-20255 as #78.

(*data_page) was deallocated. It should be prev_data_page to follow the page chain.

@eseokoh eseokoh added the bug label Jun 2, 2016
@eseokoh eseokoh merged commit a2eb0c3 into CUBRID:develop Jun 2, 2016
@eseokoh eseokoh deleted the CBRD-20291 branch June 2, 2016 03:03
@eseokoh eseokoh modified the milestone: banana pie May 12, 2017
ribram added a commit to ribram/cubrid that referenced this pull request May 21, 2021
https://arniadb.atlassian.net/browse/SC-216

Fix all warnings for GCC 8 & GCC 9, and activate errors on warnings for the compilation of most libraries and executable.

Set WITH_GCC_ERRORS to OFF to deactivate compilation errors (not recommended).

* [SC-242] Fix -Wreturn-type warnings (CUBRID#83)

https://arniadb.atlassian.net/browse/SC-242

Add default to switches missing returning values.

* server_state_string: Return on default

* is_process_registered: return false by default

* [SC-243] catcls_get_server_compat_info: remove source length from strncpy (CUBRID#85)

https://arniadb.atlassian.net/browse/SC-243

Source length does not matter for strncpy.

* [SC-240] logpb_initialize_header: initializer header instead of memset (CUBRID#78)

https://arniadb.atlassian.net/browse/SC-240

Fix warning by using value-initialize.
Add log_header::init to do value-initialize on pre-allocated object.

* [SC-244] css_return_entry_of_server: remove always-true assert (CUBRID#87)

https://arniadb.atlassian.net/browse/SC-244

Remove always-true assert causing warning.

* [SC-245] admin_getid_cmd: use destination buffer size for strncpy (CUBRID#88)

https://arniadb.atlassian.net/browse/SC-245

NAME_MAX = 256
BROKEN_NAME_LEN = 64

Use buffer size (BROKEN_NAME_LEN) & strncpy_size for safe string copy.

* [SC-241] Fix -Wsign-compare warnings (CUBRID#86)

https://arniadb.atlassian.net/browse/SC-241

Compare int to int or size_t to size_t.

* subtran_applier::execute: compare int&int instead of int&size_t

* Fix unit tests Wsign-compare warnings

* [SC-240] Fix unittests_snapshot Wclass-memaccess warnings (CUBRID#81)

https://arniadb.atlassian.net/browse/SC-240

a) logtb_initialize_tdes_for_mvcc_testing: do not call memset; necessary fields are initialized.
b) properly initialize thread entries. side-note: new [] does not construct each object.

* [SC-240] Replace memset or_attribute with value-initialize (CUBRID#79)

https://arniadb.atlassian.net/browse/SC-240

Add constructors & init functions to or_attribute & or_default_value. Use or_malloc_and_init_attribute_array instead of malloc + memset to allocate arrays of or_attribute objects.

Fixes warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ... with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]

* [SC-275] Fix GCC 9.2 stringop-truncation warnings (CUBRID#95)

https://arniadb.atlassian.net/browse/SC-275

Use strncpy_bufsize macro to safely copy string into a buffer.

* [SC-246] Activate GCC compile errors on warnings for most libs/execs (CUBRID#93)

https://arniadb.atlassian.net/browse/SC-246

Build a common list of flags and use target_compile_options to activate errors on warnings for most libraries and executables.

Grammar, external projects and compat executables are excluded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant