Hi!
On Oct 10, Sergey Vojtovich wrote:
>
> ChangeSet@stripped, 2007-10-10 16:49:11+05:00, svoj@stripped +15 -0
> WL#3951 - MyISAM: Additional Error Logs for Data Corruption
>
> When table currption is detected, in addition to current error message
typo ^^^^^^^^^
> provide following information:
> - list of threads (and queries) accessing a table;
> - thread_id of a thread that detected corruption;
> - source file name and line number where this corruption was detected;
> - optional extra information (string).
ok to push
> storage/myisam/mi_locking.c@stripped, 2007-10-10 16:49:08+05:00, svoj@stripped +4 -0
> For every call to mi_lock_database(F_[RD|WR|EXTRA_]LCK) - add
> current thread to the list of threads accessing this table.
> For every call to mi_lock_database(F_UNLCK) - remove current
> thread from the list of threads accessing this table.
good! this also made the code simpler, not only faster :)
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Developer
/_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Dachauer Str. 37, D-80335 München
<___/ Geschäftsführer: Kaj Arnö - HRB
München 162140