Commit 947efdff authored by pekka@mysql.com's avatar pekka@mysql.com

ndb: wl-2066 oops

parent 18ba5696
......@@ -4634,7 +4634,7 @@ void Dbacc::getElement(Signal* signal)
bool found;
if (! compareLocalKey) {
readTablePk(localkey1);
found = (memcmp(Tkeydata, ckeys, fragrecptr.p->keyLength) == 0);
found = (memcmp(Tkeydata, ckeys, fragrecptr.p->keyLength << 2) == 0);
} else {
found = (localkey1 == Tkeydata[0]);
}
......
......@@ -138,6 +138,14 @@ before mc02/c 5 ms 13 ms 126 pct
after mc02/c 5 ms 10 ms 70 pct
mc02/d 178 ms 242 ms 69 pct
[ prelim preformance fix for max batch size 16 -> 992 ]
[ prelim performance fix for max batch size 16 -> 992 ]
wl-2066 mc02/c 5 ms 10 ms 87 pct
before mc02/d 140 ms 237 ms 69 pct
wl-2066 mc02/c 5 ms 10 ms 69 pct
after mc02/d 150 ms 229 ms 52 pct
[ wl-2066 = remove ACC storage, use TUX test to see effect ]
vim: set et:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment