diff options
| author | Michael Meskes <meskes@postgresql.org> | 2011-11-13 13:46:45 +0100 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2011-11-13 13:48:19 +0100 |
| commit | f72baf7e61127eba512e5d0523a4c36ffa704913 (patch) | |
| tree | 2077586fd65a56314824489da327f4ee7d2c1df3 /src | |
| parent | c49130ade4dac5d8dff724cf15b0f0cdb9cf7d24 (diff) | |
Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda handling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/interfaces/ecpg/ecpglib/sqlda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/sqlda.c b/src/interfaces/ecpg/ecpglib/sqlda.c index e06f25e4874..4fb686fb08e 100644 --- a/src/interfaces/ecpg/ecpglib/sqlda.c +++ b/src/interfaces/ecpg/ecpglib/sqlda.c @@ -124,7 +124,7 @@ sqlda_common_total_size(const PGresult *res, int row, enum COMPAT_MODE compat, l } break; case ECPGt_date: - ecpg_sqlda_align_add_size(offset, sizeof(int), sizeof(date), &offset, &next_offset); + ecpg_sqlda_align_add_size(offset, sizeof(date), sizeof(date), &offset, &next_offset); break; case ECPGt_timestamp: ecpg_sqlda_align_add_size(offset, sizeof(int), sizeof(timestamp), &offset, &next_offset); |
