git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d47e9bd)
Fixed bug with indicators when storage for the string is dynamically allocated.
2003年10月26日 09:50:47 +0000 (09:50 +0000)
2003年10月26日 09:50:47 +0000 (09:50 +0000)

diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog
index 815a77009a7994fd9e1917b4842c8ba4916f8f9e..824d3a606d9b06ce546088e04eb7d41fb2b4c405 100644 (file)
--- a/src/interfaces/ecpg/ChangeLog
+++ b/src/interfaces/ecpg/ChangeLog
@@ -1692,6 +1692,11 @@ Sun Oct 19 15:20:16 CEST 2003
Mon Oct 20 14:53:40 CEST 2003
- Install dummy sqlda.h file.
+
+Sun Oct 26 10:47:05 CET 2003
+
+ - Fixed bug with indicators when storage for the
+ string is dynamically allocated
- Set ecpg version to 3.0.0
- Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 9f813f6be8bbf1453c6566a85f218ec52df04c2d..5bb87e12f6d737b12e5629b8abd22808e51a4956 100644 (file)
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1,4 +1,4 @@
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.25 2003年09月18日 13:12:23 meskes Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.26 2003年10月26日 09:50:47 meskes Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@@ -450,7 +450,7 @@ ECPGstore_result(const PGresult *results, int act_field,
if (!ECPGget_data(results, act_tuple, act_field, stmt->lineno,
var->type, var->ind_type, current_data_location,
- var->ind_value, len, 0, 0, isarray, stmt->compat, stmt->force_indicator))
+ var->ind_value, len, 0, var->ind_offset, isarray, stmt->compat, stmt->force_indicator))
status = false;
else
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /