log0recv.ic
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 1k
Category:

MySQL

Development Platform:

Visual C++

  1. /******************************************************
  2. Recovery
  3. (c) 1997 Innobase Oy
  4. Created 9/20/1997 Heikki Tuuri
  5. *******************************************************/
  6. #include "sync0sync.h"
  7. #include "mem0mem.h"
  8. #include "log0log.h"
  9. #include "os0file.h"
  10. extern ibool recv_recovery_from_backup_on;
  11. /***********************************************************************
  12. Returns TRUE if recovery is currently running. */
  13. UNIV_INLINE
  14. ibool
  15. recv_recovery_is_on(void)
  16. /*=====================*/
  17. {
  18. return(recv_recovery_on);
  19. }
  20. /***********************************************************************
  21. Returns TRUE if recovery from backup is currently running. */
  22. UNIV_INLINE
  23. ibool
  24. recv_recovery_from_backup_is_on(void)
  25. /*=================================*/
  26. {
  27. return(recv_recovery_from_backup_on);
  28. }