[Commits] 323a7e9: Backport from 10.1 to 10.0: Merge pull request #33 from k0da/mdev-7839

Sergei Petrunia psergey at askmonty.org
Wed Mar 25 18:44:31 EET 2015


revision-id: 323a7e93ee2445e6d5918b4946cbec99b1ab650c
parent(s): 1020d569343aab2de2a96cf630f3e7d9fa7ca84f
committer: Sergei Petrunia
branch nick: 10.0
timestamp: 2015-03-25 19:44:31 +0300
message:

Backport from 10.1 to 10.0: Merge pull request #33 from k0da/mdev-7839

Fix BigEndian build for Cassandra SE

---
 storage/cassandra/ha_cassandra.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/cassandra/ha_cassandra.cc b/storage/cassandra/ha_cassandra.cc
index 9b30445..e69e740 100644
--- a/storage/cassandra/ha_cassandra.cc
+++ b/storage/cassandra/ha_cassandra.cc
@@ -887,7 +887,7 @@ bool cassandra_to_dyncol_intLong(const char *cass_data,
 {
   value->type= DYN_COL_INT;
 #ifdef WORDS_BIGENDIAN
-  value->x.long_value= (longlong *)*cass_data;
+  value->x.long_value= (longlong)*cass_data;
 #else
   flip64(cass_data, (char *)&value->x.long_value);
 #endif


More information about the commits mailing list