@@ -429,7 +429,7 @@ static void
429
429
report_multiple_error_messages (Step * step , int nextra , Step * * extrastep )
430
430
{
431
431
PQExpBufferData buffer ;
432
- int n ;
432
+ int n ;
433
433
434
434
if (nextra == 0 )
435
435
{
@@ -475,8 +475,8 @@ run_permutation(TestSpec *testspec, int nsteps, Step **steps)
475
475
int w ;
476
476
int nwaiting = 0 ;
477
477
int nerrorstep = 0 ;
478
- Step * * waiting ;
479
- Step * * errorstep ;
478
+ Step * * waiting ;
479
+ Step * * errorstep ;
480
480
481
481
/*
482
482
* In dry run mode, just display the permutation in the same format used
@@ -540,13 +540,13 @@ run_permutation(TestSpec *testspec, int nsteps, Step **steps)
540
540
for (i = 0 ; i < nsteps ; i ++ )
541
541
{
542
542
Step * step = steps [i ];
543
- Step * oldstep = NULL ;
543
+ Step * oldstep = NULL ;
544
544
PGconn * conn = conns [1 + step -> session ];
545
545
bool mustwait ;
546
546
547
547
/*
548
- * Check whether the session that needs to perform the next step
549
- * is still blocked on an earlier step. If so, wait for it to finish.
548
+ * Check whether the session that needs to perform the next step is
549
+ * still blocked on an earlier step. If so, wait for it to finish.
550
550
*
551
551
* (In older versions of this tool, we allowed precisely one session
552
552
* to be waiting at a time. If we reached a step that required that
@@ -762,7 +762,7 @@ try_complete_step(Step *step, int flags)
762
762
ntuples = PQntuples (res );
763
763
PQclear (res );
764
764
765
- if (ntuples >= 1 ) /* waiting to acquire a lock */
765
+ if (ntuples >= 1 ) /* waiting to acquire a lock */
766
766
{
767
767
if (!(flags & STEP_RETRY ))
768
768
printf ("step %s: %s <waiting ...>\n" ,
@@ -781,19 +781,19 @@ try_complete_step(Step *step, int flags)
781
781
/*
782
782
* After 60 seconds, try to cancel the query.
783
783
*
784
- * If the user tries to test an invalid permutation, we don't
785
- * want to hang forever, especially when this is running in the
784
+ * If the user tries to test an invalid permutation, we don't want
785
+ * to hang forever, especially when this is running in the
786
786
* buildfarm. So try to cancel it after a minute. This will
787
787
* presumably lead to this permutation failing, but remaining
788
788
* permutations and tests should still be OK.
789
789
*/
790
790
if (td > 60 * USECS_PER_SEC && !canceled )
791
791
{
792
- PGcancel * cancel = PQgetCancel (conn );
792
+ PGcancel * cancel = PQgetCancel (conn );
793
793
794
794
if (cancel != NULL )
795
795
{
796
- char buf [256 ];
796
+ char buf [256 ];
797
797
798
798
if (PQcancel (cancel , buf , sizeof (buf )))
799
799
canceled = true;
0 commit comments