Commit 1b81d81b authored by pekka@mysql.com's avatar pekka@mysql.com

Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/space/pekka/ndb/version/my41
parents f5e5dfb2 e14817d8
...@@ -4501,6 +4501,17 @@ void Dbacc::getdirindex(Signal* signal) ...@@ -4501,6 +4501,17 @@ void Dbacc::getdirindex(Signal* signal)
/* BUCKET, AND SERCH FOR ELEMENT.THE PRIMARY KEYS WHICH IS SAVED */ /* BUCKET, AND SERCH FOR ELEMENT.THE PRIMARY KEYS WHICH IS SAVED */
/* IN THE OPERATION REC ARE THE CHECK ITEMS IN THE SEARCHING. */ /* IN THE OPERATION REC ARE THE CHECK ITEMS IN THE SEARCHING. */
/* --------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------- */
#if __ia64 == 1
#if __INTEL_COMPILER == 810
int ndb_acc_ia64_icc810_dummy_var = 0;
void ndb_acc_ia64_icc810_dummy_func()
{
ndb_acc_ia64_icc810_dummy_var++;
}
#endif
#endif
void Dbacc::getElement(Signal* signal) void Dbacc::getElement(Signal* signal)
{ {
DirRangePtr geOverflowrangeptr; DirRangePtr geOverflowrangeptr;
...@@ -4595,6 +4606,12 @@ void Dbacc::getElement(Signal* signal) ...@@ -4595,6 +4606,12 @@ void Dbacc::getElement(Signal* signal)
/* WE HAVE FOUND THE ELEMENT. GET THE LOCK INDICATOR AND RETURN FOUND. */ /* WE HAVE FOUND THE ELEMENT. GET THE LOCK INDICATOR AND RETURN FOUND. */
/* --------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------- */
jam(); jam();
#if __ia64 == 1
#if __INTEL_COMPILER == 810
// prevents SIGSEGV under icc -O1
ndb_acc_ia64_icc810_dummy_func();
#endif
#endif
tgeLocked = ElementHeader::getLocked(gePageptr.p->word32[tgeElementptr]); tgeLocked = ElementHeader::getLocked(gePageptr.p->word32[tgeElementptr]);
tgeResult = ZTRUE; tgeResult = ZTRUE;
TdataIndex = tgeElementptr + tgeForward; TdataIndex = tgeElementptr + tgeForward;
......
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