aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/sql
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-02-19 23:07:46 -0500
committerPeter Eisentraut <peter_e@gmx.net>2016-03-08 19:41:51 -0500
commit0d0644dce82a87ef4b670fb60709ef1fd6a3030c (patch)
treec578fcd70920fe102a1a7d8ea3343592e5fd077e /src/interfaces/ecpg/test/sql
parent7a1d4a2448c34ed4669d67ae4f24c594545f10b5 (diff)
downloadpostgresql-0d0644dce82a87ef4b670fb60709ef1fd6a3030c.tar.gz
postgresql-0d0644dce82a87ef4b670fb60709ef1fd6a3030c.zip
ecpg: Fix typo
GCC 6 points out the redundant conditions, which were apparently typos. Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
Diffstat (limited to 'src/interfaces/ecpg/test/sql')
-rw-r--r--src/interfaces/ecpg/test/sql/describe.pgc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/sql/describe.pgc b/src/interfaces/ecpg/test/sql/describe.pgc
index cd52c8220be..b95ab351bd0 100644
--- a/src/interfaces/ecpg/test/sql/describe.pgc
+++ b/src/interfaces/ecpg/test/sql/describe.pgc
@@ -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");