summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-describe.c
diff options
context:
space:
mode:
authorPeter Eisentraut2016-02-20 04:07:46 +0000
committerPeter Eisentraut2016-03-09 00:41:51 +0000
commit0d0644dce82a87ef4b670fb60709ef1fd6a3030c (patch)
treec578fcd70920fe102a1a7d8ea3343592e5fd077e /src/interfaces/ecpg/test/expected/sql-describe.c
parent7a1d4a2448c34ed4669d67ae4f24c594545f10b5 (diff)
ecpg: Fix typo
GCC 6 points out the redundant conditions, which were apparently typos. Reviewed-by: Thomas Munro <[email protected]>
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-describe.c')
-rw-r--r--src/interfaces/ecpg/test/expected/sql-describe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-describe.c b/src/interfaces/ecpg/test/expected/sql-describe.c
index 356f5870e8c..d0e39e93565 100644
--- a/src/interfaces/ecpg/test/expected/sql-describe.c
+++ b/src/interfaces/ecpg/test/expected/sql-describe.c
@@ -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");