YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
#include"myrg_def.h"
/* if flag == HA_PANIC_CLOSE then all misam files are closed */ /* if flag == HA_PANIC_WRITE then all misam files are unlocked and
all changed data in single user misam is written to file */ /* if flag == HA_PANIC_READ then all misam files that was locked when mi_panic(HA_PANIC_WRITE)wasdoneislocked.Ami_readinfo()is
done for all single user files to get changes in database */
int myrg_panic(enum ha_panic_function flag)
{ int error=0;
LIST *list_element,*next_open;
MYRG_INFO *info;
DBUG_ENTER("myrg_panic");
for (list_element=myrg_open_list ; list_element ; list_element=next_open)
{
next_open=list_element->next; /* Save if close */
info=(MYRG_INFO*) list_element->data; if (flag == HA_PANIC_CLOSE && myrg_close(info))
error=my_errno;
} if (myrg_open_list && flag != HA_PANIC_CLOSE)
DBUG_RETURN(mi_panic(flag)); if (error)
my_errno=error;
DBUG_RETURN(error);
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 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.