Date: Monday, December 12, 2005 @ 14:43:46
Author: gilles
Path: /cvsroot/carob/carob/include
Modified: Request.hpp (1.9 -> 1.10)
Added request id, setter and getter
-------------+
Request.hpp | 17 +++++++++++++++++
1 files changed, 17 insertions(+)
Index: carob/include/Request.hpp
diff -u carob/include/Request.hpp:1.9 carob/include/Request.hpp:1.10
--- carob/include/Request.hpp:1.9 Fri Dec 2 15:53:07 2005
+++ carob/include/Request.hpp Mon Dec 12 14:43:46 2005
@@ -115,6 +115,16 @@
void setIsReadOnly(bool isReadOnlyPrm)
{ is_read_only = isReadOnlyPrm; }
/**
+ * Returns the id value.
+ * @return the request identifier
+ */
+ int64_t getId() { return id; }
+ /**
+ * Sets the id value.
+ * @param id to set
+ */
+ void setId(int64_t idPrm) { id = idPrm; }
+ /**
* Returns the isAutoCommit value.
* @return the isAutoCommit
*/
@@ -172,6 +182,13 @@
* should be set in constructor.
*/
bool escape_processing;
+ /**
+ * Request identifier only used for failover purposes. This id is sent back
by
+ * the controller.
+ */
+ int64_t id;
+
+
};
} //namespace CarobNS
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits