Date: Friday, November 18, 2005 @ 17:37:28
  Author: gilles
    Path: /cvsroot/carob/carob

Modified: include/SelectRequest.hpp (1.6 -> 1.7) src/SelectRequest.cpp
          (1.3 -> 1.4)

Removed mustBroadcast flag and associated methods (not used/usefull anymore)


---------------------------+
 include/SelectRequest.hpp |   14 --------------
 src/SelectRequest.cpp     |    4 +---
 2 files changed, 1 insertion(+), 17 deletions(-)


Index: carob/include/SelectRequest.hpp
diff -u carob/include/SelectRequest.hpp:1.6 carob/include/SelectRequest.hpp:1.7
--- carob/include/SelectRequest.hpp:1.6 Wed Sep 21 12:08:15 2005
+++ carob/include/SelectRequest.hpp     Fri Nov 18 17:37:28 2005
@@ -50,24 +50,10 @@
    */
   void sendToStream(const DriverSocket& sockPtr, bool needSqlSkeleton)
       throw (SocketIOException, UnexpectedException);
-
-  /**
-   * Tells if the SelectRequest must be broadcasted on the cluster
-   */
-  bool isMustBroadcast() { return mustBroadcast; }
-  /**
-   * Set whether or not the request must be broadcasted on the cluster
-   */
-  void setMustBroadcast(bool prm) { mustBroadcast = prm; }
 protected:
   // this class is **not** abstract, so we give a dummy implem here
   bool isClassImplementable() { return true; }
 private:
-  /**
-   * Set to true if this SelectRequest must be broadcasted on the cluster
-   * (useful for queries like SELECT FOR UPDATE
-   */
-  bool               mustBroadcast;
 };
 
 #endif /*SELECTREQUEST_H_*/
Index: carob/src/SelectRequest.cpp
diff -u carob/src/SelectRequest.cpp:1.3 carob/src/SelectRequest.cpp:1.4
--- carob/src/SelectRequest.cpp:1.3     Wed Sep 21 12:08:15 2005
+++ carob/src/SelectRequest.cpp Fri Nov 18 17:37:28 2005
@@ -26,8 +26,7 @@
 SelectRequest::SelectRequest(wstring sqlQuery, bool escapeProcessing, 
     int32_t timeout, wstring lineSeparator) :
   AbstractRequest(sqlQuery, escapeProcessing, timeout, lineSeparator,
-      SELECT),
-  mustBroadcast(false)
+      SELECT)
 {
 }
 
@@ -37,6 +36,5 @@
 {
   AbstractRequest::sendToStream(sockPtr, needSqlSkeleton);
   sendResultSetParams(sockPtr);
-  sockPtr<<mustBroadcast;
 }
 

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to