From 1f0a4a64d93de0b1867ab3094b1310567a3e965a Mon Sep 17 00:00:00 2001 From: "jan@hundin.mysql.fi" <> Date: Mon, 7 Feb 2005 08:27:59 +0200 Subject: [PATCH] Coding style fixes for X/Open XA in InnoDB. --- sql/ha_innodb.cc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index f03e894f00a..7e9555d9bfd 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -5914,8 +5914,9 @@ innobase_query_is_replace(void) /*********************************************************************** This function is used to prepare X/Open XA distributed transaction */ -int innobase_xa_prepare( -/*====================*/ +int +innobase_xa_prepare( +/*================*/ /* out: 0 or error number */ THD* thd, /* in: handle to the MySQL thread of the user whose XA transaction should be prepared */ @@ -5976,12 +5977,13 @@ int innobase_xa_prepare( /*********************************************************************** This function is used to recover X/Open XA distributed transactions */ -int innobase_xa_recover( +int +innobase_xa_recover( +/*================*/ /* out: number of prepared transactions stored in xid_list */ XID* xid_list, /* in/out: prepared transactions */ uint len) /* in: number of slots in xid_list */ -/*====================*/ { if (len == 0 || xid_list == NULL) { return 0; @@ -5994,8 +5996,9 @@ int innobase_xa_recover( This function is used to commit one X/Open XA distributed transaction which is in the prepared state */ -int innobase_commit_by_xid( -/*=======================*/ +int +innobase_commit_by_xid( +/*===================*/ /* out: 0 or error number */ XID* xid) /* in: X/Open XA Transaction Identification */ { @@ -6016,7 +6019,9 @@ int innobase_commit_by_xid( This function is used to rollback one X/Open XA distributed transaction which is in the prepared state */ -int innobase_rollback_by_xid( +int +innobase_rollback_by_xid( +/*=====================*/ /* out: 0 or error number */ XID *xid) /* in : X/Open XA Transaction Idenfification */ {