mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda handling.
This commit is contained in:
parent
4de82f7d7c
commit
5b5985e6c0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user