mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
Fixed bug with indicators when storage for the string is dynamically allocated.
This commit is contained in:
parent
d47e9bd023
commit
0262337ad3
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user