mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Add missing paren to ODBC compiles.
This commit is contained in:
parent
76273a51a8
commit
436d4aef07
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user