aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-09-13 22:39:29 +0000
committerBruce Momjian <bruce@momjian.us>2001-09-13 22:39:29 +0000
commit436d4aef0759e543b78d7825d007b66c1d7f62a4 (patch)
tree7172429522d964f99c59040cc9dbdd684ead41a7 /src
parent76273a51a8ab4d5b2abcbc6ae40288bfa3cfdcfd (diff)
downloadpostgresql-436d4aef0759e543b78d7825d007b66c1d7f62a4.tar.gz
postgresql-436d4aef0759e543b78d7825d007b66c1d7f62a4.zip
Add missing paren to ODBC compiles.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/odbc/pgtypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/odbc/pgtypes.c b/src/interfaces/odbc/pgtypes.c
index 97a6ff82016..dd242d7bdcd 100644
--- a/src/interfaces/odbc/pgtypes.c
+++ b/src/interfaces/odbc/pgtypes.c
@@ -700,12 +700,12 @@ pgtype_length(StatementClass *stmt, Int4 type, int col, int handle_unknown_size_
case PG_TYPE_BPCHAR:
#ifdef MULTIBYTE
/* after 7.2 */
- if (PG_VERSION_GE(SC_get_conn(stmt), 7.2)
+ if (PG_VERSION_GE(SC_get_conn(stmt), 7.2))
return 3 * pgtype_precision(stmt, type, col, handle_unknown_size_as);
else
#else
/* CR -> CR/LF */
- return 2 * pgtype_precision(stmt, type, col, handle_unknown_size_as);
+ return 2 * pgtype_precision(stmt, type, col, handle_unknown_size_as);
#endif /* MULTIBYTE */
default:
return pgtype_precision(stmt, type, col, handle_unknown_size_as);