YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
/* check that we are not calling this twice in a row */
DBUG_ASSERT(newtrn->used_instances != (void*) tbl);
DBUG_ASSERT(newtrn != &dummy_transaction_object);
DBUG_ASSERT(tbl->trn == 0 || tbl->trn == &dummy_transaction_object);
DBUG_ASSERT(tbl->trn_next == 0);
DBUG_ASSERT(tbl->trn_prev == 0);
tbl->trn= newtrn; /* Link into used list */ if (newtrn->used_instances)
((MARIA_HA*) newtrn->used_instances)->trn_prev= &tbl->trn_next;
tbl->trn_next= (MARIA_HA*) newtrn->used_instances;
tbl->trn_prev= (MARIA_HA**) &newtrn->used_instances;
newtrn->used_instances= tbl;
}
staticinlinevoid relink_trn_used_instances(MARIA_HA **used_tables, TRN *trn)
{ if (likely(*used_tables= (MARIA_HA*) trn->used_instances))
{ /* Check that first back link is correct */
DBUG_ASSERT((*used_tables)->trn_prev == (MARIA_HA **)&trn->used_instances);
/* Fix back link to point to new base for the list */
(*used_tables)->trn_prev= used_tables;
trn->used_instances= 0;
}
}
staticinline TrID max_trid_in_system(void)
{
TrID id= trnman_get_max_trid(); /* 0 if transac manager not initialized */ /* 'id' may be far bigger, if last shutdown is old */ return MY_MAX(id, max_trid_in_control_file);
}
#endif/* _ma_trnman_h */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-10-08)
¤
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.