diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2015-06-03 17:37:51 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2015-06-03 17:37:51 +0200 |
commit | 0599d80fccc000b3b4068f7acbb705f49188c55a (patch) | |
tree | 10c4fc2e75f7b801d63cbcdc294d394d2ae86335 /storage/connect/connect.cc | |
parent | 4821cd949e7760c833773b8c10533187c1ae075d (diff) | |
download | mariadb-git-0599d80fccc000b3b4068f7acbb705f49188c55a.tar.gz |
Fix swapping key numeric values on Big Endian machines.
Fix typo error in CntIndexRange (kp instead of p)
Change version date
modified: storage/connect/connect.cc
modified: storage/connect/ha_connect.cc
Diffstat (limited to 'storage/connect/connect.cc')
-rw-r--r-- | storage/connect/connect.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/connect/connect.cc b/storage/connect/connect.cc index 7b7144dacbb..4e554b16638 100644 --- a/storage/connect/connect.cc +++ b/storage/connect/connect.cc @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /***********************************************************************/ -/* Author Olivier BERTRAND bertrandop@gmail.com 2004-2012 */ +/* Author Olivier BERTRAND bertrandop@gmail.com 2004-2015 */ /* */ /* WHAT THIS PROGRAM DOES: */ /* ----------------------- */ @@ -949,9 +949,9 @@ int CntIndexRange(PGLOBAL g, PTDB ptdb, const uchar* *key, uint *len, } else #if defined(WORDS_BIGENDIAN) - SetSwapValue(valp, (char*)kp); + SetSwapValue(valp, (char*)p); #else // !WORDS_BIGENDIAN - valp->SetBinValue((void*)kp); + valp->SetBinValue((void*)p); #endif // !WORDS_BIGENDIAN if (trace) { |