• Sergei Golubchik's avatar
    maria: deadlock detection when waiting on unique key (useless until we can rollback) · 3971e262
    Sergei Golubchik authored
    include/my_pthread.h:
      cleanup
    include/waiting_threads.h:
      header guard
    mysys/waiting_threads.c:
      bug - kill strategy were not applied to deadlocks of length 1.
      cast timeout to ulonglong.
    storage/maria/ma_static.c:
      declare WT_RESOURCE_TYPE ma_rc_dup_unique
    storage/maria/ma_write.c:
      deadlock detection when waiting on unique key (useless until we can rollback)
    storage/maria/maria_def.h:
      deadlock detection when waiting on unique key (useless until we can rollback)
    storage/maria/trnman.c:
      use deadlock detector.
      protect state transitions of a TRN with a mutex.
      trnman_trid_to_trn() function.
    storage/maria/trnman.h:
      trnman_trid_to_trn() function
      protect state transitions of a TRN with a mutex
      use deadlock detector.
    storage/maria/trnman_public.h:
      trnman_trid_to_trn()
    3971e262
trnman.h 1.98 KB