YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
Asmi_rnext()withoutprecedingmi_rkey()/mi_rfirst() equalstomi_rfirst(),wemustrestoreoriginalstate asiffailingmi_rfirst()wasnotcalled.
*/ if (error)
update_mask|= HA_STATE_PREV_FOUND;
} else
{ switch (keyinfo->key_alg) { case HA_KEY_ALG_RTREE: /* Notethatrtreedoesn'tsupportthatthetable maybechangedsincelastcall,sowedoneed toskiprowsinsertedbyotherthreadslikeinbtree
*/
error= maria_rtree_get_next(info, inx, info->last_key.data_length +
info->last_key.ref_length); break; case HA_KEY_ALG_BTREE: default: if (!changed)
error= _ma_search_next(info, &info->last_key,
flag | info->last_key.flag,
share->state.key_root[inx]); else
error= _ma_search(info, &info->last_key, flag | info->last_key.flag,
share->state.key_root[inx]);
}
}
if (!error)
{ while (!(*share->row_is_visible)(info) ||
((check= ma_check_index_cond(info, inx, buf)) == CHECK_NEG))
{ /* Ifweareatthelastkeyonthekeypage,allowwritersto accesstheindex.
*/ if (info->int_keypos >= info->int_maxpos &&
ma_yield_and_check_if_killed(info, inx))
{ /* my_errno is set by ma_yield_and_check_if_killed() */
error= 1; break;
}
/* Skip rows inserted by other threads since we got a lock */ if ((error= _ma_search_next(info, &info->last_key,
SEARCH_BIGGER,
share->state.key_root[inx]))) break;
}
} if (share->lock_key_trees)
mysql_rwlock_unlock(&keyinfo->root_lock);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.