提交 e6a7b019 编写于 作者: B Bruce Momjian

Avoid use of C commment inside C comment from recent Win32 int overflow patch.

上级 27bff750
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/int.c,v 1.73 2006/06/12 16:09:11 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/int.c,v 1.74 2006/06/12 16:28:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -738,7 +738,7 @@ int4mul(PG_FUNCTION_ARGS)
#ifdef WIN32
/*
* Win32 doesn't throw a catchable exception for
* SELECT -2147483648 /* INT_MIN */ * (-1);
* SELECT -2147483648 * (-1); -- INT_MIN
*/
if (arg2 == -1 && arg1 == INT_MIN)
ereport(ERROR,
......@@ -784,7 +784,7 @@ int4div(PG_FUNCTION_ARGS)
#ifdef WIN32
/*
* Win32 doesn't throw a catchable exception for
* SELECT -2147483648 /* INT_MIN */ / (-1);
* SELECT -2147483648 / (-1); -- INT_MIN
*/
if (arg2 == -1 && arg1 == INT_MIN)
ereport(ERROR,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册