You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2011/09/07 18:46:43 UTC

[Cassandra Wiki] Trivial Update of "ThriftExamples" by MarcoMatarazzo

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "ThriftExamples" page has been changed by MarcoMatarazzo:
http://wiki.apache.org/cassandra/ThriftExamples?action=diff&rev1=90&rev2=91

Comment:
corrected some small problems in c++ code.

  #include "protocol/TBinaryProtocol.h"
  #include "Cassandra.h"
  
+ using namespace std;
  using namespace apache::thrift;
  using namespace apache::thrift::transport;
  using namespace apache::thrift::protocol;
@@ -649, +650 @@

      printf("Exception: %s\n", nfe.what());
    }
    printf("Done!!!\n");
-   return;
+   return 0;
  }
  }}}
  == Notes ==