YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
int table_session_status::rnd_init(bool scan)
{ /* Build a cache of all status variables for this thread. */
m_status_cache.materialize_all(current_thd);
/* Record the current number of status variables to detect subsequent changes. */
ulonglong status_version= m_status_cache.get_status_array_version();
int table_session_status::rnd_next(void)
{ for (m_pos.set_at(&m_next_pos);
m_pos.m_index < m_status_cache.size();
m_pos.next())
{ if (m_status_cache.is_materialized())
{ const Status_variable *stat_var= m_status_cache.get(m_pos.m_index); if (stat_var != NULL)
{
make_row(stat_var);
m_next_pos.set_after(&m_pos); return0;
}
}
} return HA_ERR_END_OF_FILE;
}
int
table_session_status::rnd_pos(constvoid *pos)
{ /* If global status array has changed, do nothing. */ // TODO: warning if (!m_context->versions_match()) return HA_ERR_RECORD_DELETED;
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.