mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
MIN() -> Min, fixes compile problem.
This commit is contained in:
parent
71d641cf15
commit
48aa2dbe61
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.50 2001/12/19 22:35:35 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.51 2001/12/20 02:39:26 momjian Exp $
|
||||||
*
|
*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -88,7 +88,7 @@ pprint(void *obj)
|
|||||||
if (indentLev > 0)
|
if (indentLev > 0)
|
||||||
{
|
{
|
||||||
indentLev--;
|
indentLev--;
|
||||||
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
|
indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
|
||||||
}
|
}
|
||||||
j = indentDist - 1;
|
j = indentDist - 1;
|
||||||
/* j will equal indentDist on next loop iteration */
|
/* j will equal indentDist on next loop iteration */
|
||||||
@ -108,7 +108,7 @@ pprint(void *obj)
|
|||||||
}
|
}
|
||||||
/* indent */
|
/* indent */
|
||||||
indentLev++;
|
indentLev++;
|
||||||
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
|
indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
|
||||||
for (j = 0; j < indentDist; j++)
|
for (j = 0; j < indentDist; j++)
|
||||||
line[j] = ' ';
|
line[j] = ' ';
|
||||||
line[j] = s[i];
|
line[j] = s[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user