mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Renaming cleanup, no pgindent yet.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.17 1998/02/26 04:30:18 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.18 1998/09/01 03:21:31 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This file contains the high level access-method interface to the
|
||||
@@ -188,7 +188,7 @@ TransactionLogTest(TransactionId transactionId, /* transaction id to test */
|
||||
/*
|
||||
* so lint is happy...
|
||||
*/
|
||||
return (false);
|
||||
return false;
|
||||
}
|
||||
|
||||
/* --------------------------------
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.21 1998/07/21 04:17:21 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.22 1998/09/01 03:21:33 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Transaction aborts can now occur two ways:
|
||||
@@ -295,7 +295,7 @@ IsTransactionState(void)
|
||||
/*
|
||||
* Shouldn't get here, but lint is not happy with this...
|
||||
*/
|
||||
return (false);
|
||||
return false;
|
||||
}
|
||||
|
||||
/* --------------------------------
|
||||
@@ -863,7 +863,7 @@ StartTransaction()
|
||||
bool
|
||||
CurrentXactInProgress()
|
||||
{
|
||||
return (CurrentTransactionState->state == TRANS_INPROGRESS);
|
||||
return CurrentTransactionState->state == TRANS_INPROGRESS;
|
||||
}
|
||||
|
||||
/* --------------------------------
|
||||
@@ -1462,7 +1462,7 @@ IsTransactionBlock()
|
||||
|
||||
if (s->blockState == TBLOCK_INPROGRESS
|
||||
|| s->blockState == TBLOCK_ENDABORT)
|
||||
return (true);
|
||||
return true;
|
||||
|
||||
return (false);
|
||||
return false;
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.16 1998/04/26 04:05:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.17 1998/09/01 03:21:34 momjian Exp $
|
||||
*
|
||||
* OLD COMMENTS
|
||||
* XXX WARNING
|
||||
@@ -34,7 +34,7 @@ extern TransactionId FirstTransactionId;
|
||||
TransactionId
|
||||
xidin(char *representation)
|
||||
{
|
||||
return (atol(representation));
|
||||
return atol(representation);
|
||||
}
|
||||
|
||||
/* XXX name for catalogs */
|
||||
@@ -49,7 +49,7 @@ xidout(TransactionId transactionId)
|
||||
|
||||
sprintf(representation, "%u", transactionId);
|
||||
|
||||
return (representation);
|
||||
return representation;
|
||||
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ xidout(TransactionId transactionId)
|
||||
bool
|
||||
TransactionIdIsLessThan(TransactionId id1, TransactionId id2)
|
||||
{
|
||||
return ((bool) (id1 < id2));
|
||||
return (bool) (id1 < id2);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
@@ -75,7 +75,7 @@ TransactionIdIsLessThan(TransactionId id1, TransactionId id2)
|
||||
bool
|
||||
xideq(TransactionId xid1, TransactionId xid2)
|
||||
{
|
||||
return ((bool) (xid1 == xid2));
|
||||
return (bool) (xid1 == xid2);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user