Commit 0d0644dc authored by Peter Eisentraut's avatar Peter Eisentraut

ecpg: Fix typo

GCC 6 points out the redundant conditions, which were apparently typos.
Reviewed-by: default avatarThomas Munro <thomas.munro@enterprisedb.com>
parent 7a1d4a24
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment