diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 02:36:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-17 02:36:41 +0000 |
commit | 341b328b180e65d1fa5c8f2235cf101c8a12824f (patch) | |
tree | 88d54198ffa15aea581251471f8c062ae9e3142e /src/backend/access/transam/xact.c | |
parent | bc1f117094fbe2921f37923d8f7528284cb26dfc (diff) | |
download | postgresql-341b328b180e65d1fa5c8f2235cf101c8a12824f.tar.gz postgresql-341b328b180e65d1fa5c8f2235cf101c8a12824f.zip |
Fix a bunch of minor portability problems and maybe-bugs revealed by
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing. Tedious, but perhaps useful...
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r-- | src/backend/access/transam/xact.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index e5b521b67cf..c3db87a187a 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.61 2000/02/18 09:30:20 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.62 2000/03/17 02:36:05 tgl Exp $ * * NOTES * Transaction aborts can now occur two ways: @@ -190,6 +190,7 @@ static void StartTransaction(void); TransactionStateData CurrentTransactionStateData = { 0, /* transaction id */ FirstCommandId, /* command id */ + 0, /* scan command id */ 0x0, /* start time */ TRANS_DEFAULT, /* transaction state */ TBLOCK_DEFAULT /* transaction block state */ |