1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-18 10:22:14 +03:00

branches/zip:

Fix Mantis issue#34 https://svn.innodb.com/mantis/view.php?id=34
"I_S plugins should refuse to load if the storage engine plugin is not loaded"
and MySQL Bug#36310 http://bugs.mysql.com/36310
"InnoDB plugin crash"

* Make srv_was_started public
* Set srv_was_started at the end of innobase_start_or_create_for_mysql()
  so it is not set to TRUE if innodb encounters some startup error
* Refuse to start any of the I_S plugins if srv_was_started is not TRUE

Approved by:	Heikki
This commit is contained in:
vasil
2008-04-29 14:57:06 +00:00
parent 4316056aa6
commit c45dedd4e4
3 changed files with 30 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ extern ibool srv_have_fullfsync;
#endif
extern ibool srv_is_being_started;
extern ibool srv_was_started;
extern ibool srv_startup_is_before_trx_rollback_phase;
extern ibool srv_is_being_shut_down;