Commit 436d4aef authored by Bruce Momjian's avatar Bruce Momjian

Add missing paren to ODBC compiles.

parent 76273a51
...@@ -700,12 +700,12 @@ pgtype_length(StatementClass *stmt, Int4 type, int col, int handle_unknown_size_ ...@@ -700,12 +700,12 @@ pgtype_length(StatementClass *stmt, Int4 type, int col, int handle_unknown_size_
case PG_TYPE_BPCHAR: case PG_TYPE_BPCHAR:
#ifdef MULTIBYTE #ifdef MULTIBYTE
/* after 7.2 */ /* 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); return 3 * pgtype_precision(stmt, type, col, handle_unknown_size_as);
else else
#else #else
/* CR -> CR/LF */ /* 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 */ #endif /* MULTIBYTE */
default: default:
return pgtype_precision(stmt, type, col, handle_unknown_size_as); return pgtype_precision(stmt, type, col, handle_unknown_size_as);
......
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