summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-desc.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2009-12-16 10:15:07 +0000
committerMichael Meskes <meskes@postgresql.org>2009-12-16 10:15:07 +0000
commitd19669e5f90b7dd860f47a399329c5f921908bcf (patch)
treeba8fca9e2ced888503664896bb427e20d95b734a /src/interfaces/ecpg/test/expected/sql-desc.c
parentdd4cd55c15886c46378dc27f44f59a6de8c4d45b (diff)
downloadpostgresql-d19669e5f90b7dd860f47a399329c5f921908bcf.tar.gz
Fixed auto-prepare to not try preparing statements that are not preparable. Bug
found and solved by Boszormenyi Zoltan <zb@cybertec.at>, some small adjustments by me.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-desc.c')
-rw-r--r--src/interfaces/ecpg/test/expected/sql-desc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-desc.c b/src/interfaces/ecpg/test/expected/sql-desc.c
index 85f304b268..8fc527a364 100644
--- a/src/interfaces/ecpg/test/expected/sql-desc.c
+++ b/src/interfaces/ecpg/test/expected/sql-desc.c
@@ -133,7 +133,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 33 "desc.pgc"
- { ECPGdo(__LINE__, 0, 1, NULL, 0, 1, "foo1",
+ { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_execute, "foo1",
ECPGt_descriptor, "indesc", 0L, 0L, 0L,
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_EORT);
#line 35 "desc.pgc"
@@ -160,7 +160,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 38 "desc.pgc"
- { ECPGdo(__LINE__, 0, 1, NULL, 0, 1, "foo1",
+ { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_execute, "foo1",
ECPGt_descriptor, "indesc", 0L, 0L, 0L,
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_EORT);
#line 40 "desc.pgc"
@@ -187,7 +187,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 43 "desc.pgc"
- { ECPGdo(__LINE__, 0, 1, NULL, 0, 1, "Foo-1",
+ { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_execute, "Foo-1",
ECPGt_descriptor, "indesc", 0L, 0L, 0L,
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_EORT);
#line 45 "desc.pgc"
@@ -221,7 +221,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
#line 50 "desc.pgc"
- { ECPGdo(__LINE__, 0, 1, NULL, 0, 1, "foo2",
+ { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_execute, "foo2",
ECPGt_descriptor, "indesc", 0L, 0L, 0L,
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT,
ECPGt_descriptor, "outdesc", 0L, 0L, 0L,