mirror of
https://github.com/postgres/postgres.git
synced 2026-04-28 01:26:56 -04:00
Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda handling.
This commit is contained in:
parent
37fb0170b7
commit
8fad10a575
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ sqlda_common_total_size(const PGresult *res, int row, enum COMPAT_MODE compat, l
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ECPGt_date:
|
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;
|
break;
|
||||||
case ECPGt_timestamp:
|
case ECPGt_timestamp:
|
||||||
ecpg_sqlda_align_add_size(offset, sizeof(int), sizeof(timestamp), &offset, &next_offset);
|
ecpg_sqlda_align_add_size(offset, sizeof(int), sizeof(timestamp), &offset, &next_offset);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue