git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4de82f7)
Applied patch by Zoltan to fix copy&paste bug in ecpg's sqlda handling.
2011年11月13日 12:46:45 +0000 (13:46 +0100)
2011年11月13日 12:59:11 +0000 (13:59 +0100)

diff --git a/src/interfaces/ecpg/ecpglib/sqlda.c b/src/interfaces/ecpg/ecpglib/sqlda.c
index 33b4d2bce3d3e397123c46d66ca61bbee2cf4f1f..a1a0e18104f2b20ba025a41014c5069a5faa57e0 100644 (file)
--- 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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /