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

Commit677e791

Browse files
committed
[PGPRO-5360] Fix for freeze (Valgrind and compilation with -Og option)
1 parentafddc65 commit677e791

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/pathman_workers.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ bgw_main_concurrent_part(Datum main_arg)
458458
ConcurrentPartSlot*part_slot;
459459
char*sql=NULL;
460460
int64rows;
461-
boolfailed;
462-
intfailures_count=0;
461+
volatileboolfailed;
462+
volatileintfailures_count=0;
463463
LOCKMODElockmode=RowExclusiveLock;
464464

465465
/* Update concurrent part slot */
@@ -497,7 +497,7 @@ bgw_main_concurrent_part(Datum main_arg)
497497
Oidtypes[2]= {OIDOID,INT4OID };
498498
Datumvals[2]= {part_slot->relid,part_slot->batch_size };
499499

500-
boolrel_locked= false;
500+
volatileboolrel_locked= false;
501501

502502
/* Reset loop variables */
503503
failed= false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp