mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Unixware patches from Billy G. Allie.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: c.h,v 1.45 1998/09/01 04:33:57 momjian Exp $
|
* $Id: c.h,v 1.46 1998/10/04 15:38:55 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -61,8 +61,9 @@
|
|||||||
#define false ((char) 0)
|
#define false ((char) 0)
|
||||||
#define true ((char) 1)
|
#define true ((char) 1)
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
#ifndef bool
|
||||||
typedef char bool;
|
typedef char bool;
|
||||||
|
#endif /* ndef bool */
|
||||||
#endif /* not C++ */
|
#endif /* not C++ */
|
||||||
typedef bool *BoolPtr;
|
typedef bool *BoolPtr;
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* procedural language
|
* procedural language
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.3 1998/09/01 04:40:22 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.4 1998/10/04 15:38:57 momjian Exp $
|
||||||
*
|
*
|
||||||
* This software is copyrighted by Jan Wieck - Hamburg.
|
* This software is copyrighted by Jan Wieck - Hamburg.
|
||||||
*
|
*
|
||||||
@ -1243,9 +1243,9 @@ exec_stmt_fori(PLpgSQL_execstate * estate, PLpgSQL_stmt_fori * stmt)
|
|||||||
* ----------
|
* ----------
|
||||||
*/
|
*/
|
||||||
if (stmt->reverse)
|
if (stmt->reverse)
|
||||||
((int4) (var->value))--;
|
(int4)var->value--;
|
||||||
else
|
else
|
||||||
((int4) (var->value))++;
|
(int4)var->value++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return PLPGSQL_RC_OK;
|
return PLPGSQL_RC_OK;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
for file in `cat "$@" | grep 'failed$' | cut -d " " -f 1`
|
for file in `cat "$@" | grep 'failed$' | cut -d " " -f 1`
|
||||||
do
|
do
|
||||||
echo "====== $file ======"
|
echo "====== $file ======"
|
||||||
diff -uw expected/$file.out results
|
diff -w expected/$file.out results
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user