Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit268f9e3

Browse files
committed
Fix some typos in comments
Masahiko Sawada
1 parent73f8d73 commit268f9e3

File tree

1 file changed

+3
-3
lines changed
  • src/backend/utils/mmgr

1 file changed

+3
-3
lines changed

‎src/backend/utils/mmgr/dsa.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ dsa_create(int tranche_id)
435435
*/
436436
dsm_pin_segment(segment);
437437

438-
/* Create a new DSA area with the controlobjet in this segment. */
438+
/* Create a new DSA area with the controlobject in this segment. */
439439
area=create_internal(dsm_segment_address(segment),
440440
DSA_INITIAL_SEGMENT_SIZE,
441441
tranche_id,
@@ -1147,7 +1147,7 @@ create_internal(void *place, size_t size,
11471147
elog(ERROR,"dsa_area space must be at least %zu, but %zu provided",
11481148
dsa_minimum_size(),size);
11491149

1150-
/* Now figure out how much space isusuable */
1150+
/* Now figure out how much space isusable */
11511151
total_pages=size /FPM_PAGE_SIZE;
11521152
metadata_bytes=
11531153
MAXALIGN(sizeof(dsa_area_control))+
@@ -1672,7 +1672,7 @@ get_segment_by_index(dsa_area *area, dsa_segment_index index)
16721672
*/
16731673
handle=area->control->segment_handles[index];
16741674

1675-
/* It's anerro to try to access an unused slot. */
1675+
/* It's anerror to try to access an unused slot. */
16761676
if (handle==DSM_HANDLE_INVALID)
16771677
elog(ERROR,
16781678
"dsa_area could not attach to a segment that has been freed");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp