Commit 5b5985e6 authored by Michael Meskes's avatar Michael Meskes

Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda handling.

parent 4de82f7d
...@@ -124,7 +124,7 @@ sqlda_common_total_size(const PGresult *res, int row, enum COMPAT_MODE compat, l ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment