summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-12-02 17:40:50 +0200
committerunknown <heikki@hundin.mysql.fi>2004-12-02 17:40:50 +0200
commit4a9ef43a4961ee8795f143be4d390ab67bbf65d7 (patch)
treee60fb377020e142b7b9cf30d4279cf0b5651a4c1 /innobase
parentd967118ff655ce9e220e92c30b83e79740af7dda (diff)
downloadmariadb-git-4a9ef43a4961ee8795f143be4d390ab67bbf65d7.tar.gz
trx0xa.h:
Remove compiler errors from Jan's XA header by commenting the __P macros out innobase/include/trx0xa.h: Remove compiler errors from Jan's XA header by commenting the __P macros out
Diffstat (limited to 'innobase')
-rw-r--r--innobase/include/trx0xa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/innobase/include/trx0xa.h b/innobase/include/trx0xa.h
index 96a7604a352..34b7a2f95a8 100644
--- a/innobase/include/trx0xa.h
+++ b/innobase/include/trx0xa.h
@@ -27,6 +27,10 @@ typedef struct xid_t XID;
* A value of -1 in formatID means that the XID is null.
*/
+
+#ifdef NOTDEFINED
+/* Let us comment this out to remove compiler errors!!!!!!!!!!!! */
+
/*
* Declarations of routines by which RMs call TMs:
*/
@@ -41,6 +45,8 @@ extern int ax_unreg __P((int, long));
#define MAXINFOSIZE 256 /* maximum size in bytes of xa_info */
/* strings, including the null
terminator */
+
+
struct xa_switch_t {
char name[RMNAMESZ]; /* name of resource manager */
long flags; /* resource manager specific options */
@@ -66,6 +72,8 @@ struct xa_switch_t {
int (*xa_complete_entry) /* xa_complete function pointer */
__P((int *, int *, int, long));
};
+#endif /* NOTDEFINED */
+
/*
* Flag definitions for the RM switch