aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/thread/thread_implicit.pgc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/test/thread/thread_implicit.pgc')
-rw-r--r--src/interfaces/ecpg/test/thread/thread_implicit.pgc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/test/thread/thread_implicit.pgc b/src/interfaces/ecpg/test/thread/thread_implicit.pgc
index d65f17c0736..0dfcb7172bc 100644
--- a/src/interfaces/ecpg/test/thread/thread_implicit.pgc
+++ b/src/interfaces/ecpg/test/thread/thread_implicit.pgc
@@ -61,7 +61,7 @@ int main()
if( threads == NULL )
{
fprintf(stderr, "Cannot alloc memory\n");
- return( 1 );
+ return 1;
}
for( n = 0; n < nthreads; n++ )
{
@@ -93,7 +93,7 @@ int main()
else
printf("ERROR: Failure - expecting %d rows, got %d.\n", nthreads * iterations, l_rows);
- return( 0 );
+ return 0;
}
void *test_thread(void *arg)
@@ -122,7 +122,7 @@ void *test_thread(void *arg)
if( sqlca.sqlcode != 0 )
{
printf("%s: ERROR: cannot connect to database!\n", l_connection);
- return( NULL );
+ return NULL;
}
EXEC SQL BEGIN;
@@ -137,6 +137,6 @@ void *test_thread(void *arg)
/* all done */
EXEC SQL COMMIT;
EXEC SQL DISCONNECT :l_connection;
- return( NULL );
+ return NULL;
}
#endif /* ENABLE_THREAD_SAFETY */