mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
ecpg: Fix typo
GCC 6 points out the redundant conditions, which were apparently typos. Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
This commit is contained in:
parent
7a1d4a2448
commit
0d0644dce8
@ -150,7 +150,7 @@ exec sql end declare section;
|
||||
exec sql describe st_id2 using descriptor sqlda2;
|
||||
exec sql describe st_id2 into sqlda3;
|
||||
|
||||
if (sqlda1 == NULL || sqlda1 == NULL || sqlda2 == NULL)
|
||||
if (sqlda1 == NULL || sqlda2 == NULL || sqlda3 == NULL)
|
||||
exit(1);
|
||||
|
||||
strcpy(msg, "get descriptor");
|
||||
|
@ -362,7 +362,7 @@ if (sqlca.sqlcode < 0) exit (1);}
|
||||
#line 151 "describe.pgc"
|
||||
|
||||
|
||||
if (sqlda1 == NULL || sqlda1 == NULL || sqlda2 == NULL)
|
||||
if (sqlda1 == NULL || sqlda2 == NULL || sqlda3 == NULL)
|
||||
exit(1);
|
||||
|
||||
strcpy(msg, "get descriptor");
|
||||
|
@ -360,7 +360,7 @@ if (sqlca.sqlcode < 0) exit (1);}
|
||||
#line 151 "describe.pgc"
|
||||
|
||||
|
||||
if (sqlda1 == NULL || sqlda1 == NULL || sqlda2 == NULL)
|
||||
if (sqlda1 == NULL || sqlda2 == NULL || sqlda3 == NULL)
|
||||
exit(1);
|
||||
|
||||
strcpy(msg, "get descriptor");
|
||||
|
@ -150,7 +150,7 @@ exec sql end declare section;
|
||||
exec sql describe st_id2 using descriptor sqlda2;
|
||||
exec sql describe st_id2 into sqlda3;
|
||||
|
||||
if (sqlda1 == NULL || sqlda1 == NULL || sqlda2 == NULL)
|
||||
if (sqlda1 == NULL || sqlda2 == NULL || sqlda3 == NULL)
|
||||
exit(1);
|
||||
|
||||
strcpy(msg, "get descriptor");
|
||||
|
Loading…
x
Reference in New Issue
Block a user