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

MySQL

Development Platform:

Visual C++

  1. /******************************************************
  2. Starts the Innobase database server
  3. (c) 1995-2000 Innobase Oy
  4. Created 10/10/1995 Heikki Tuuri
  5. *******************************************************/
  6. #ifndef srv0start_h
  7. #define srv0start_h
  8. #include "univ.i"
  9. /********************************************************************
  10. Starts Innobase and creates a new database if database files
  11. are not found and the user wants. Server parameters are
  12. read from a file of name "srv_init" in the ib_home directory. */
  13. int
  14. innobase_start_or_create_for_mysql(void);
  15. /*====================================*/
  16. /* out: DB_SUCCESS or error code */
  17. /********************************************************************
  18. Shuts down the Innobase database. */
  19. int
  20. innobase_shutdown_for_mysql(void);
  21. /*=============================*/
  22. /* out: DB_SUCCESS or error code */
  23. #endif