Commit fb945ef2 authored by Guilhem Bichot's avatar Guilhem Bichot

Fixing Valgrind error: deadlock detector was set to random; seen in many...

Fixing Valgrind error: deadlock detector was set to random; seen in many InnoDB tests like innodb-replace.test

storage/innobase/handler/ha_innodb.cc:
  Fixing Valgrind error: deadlock detector was set to random. Making the recently added lines closer
  to the InnoDB style (tabs not spaces)
parent d83f6470
...@@ -1405,6 +1405,7 @@ innobase_init( ...@@ -1405,6 +1405,7 @@ innobase_init(
int err; int err;
bool ret; bool ret;
char *default_path; char *default_path;
my_bool old_safe_mutex_deadlock_detector;
DBUG_ENTER("innobase_init"); DBUG_ENTER("innobase_init");
handlerton *innobase_hton= (handlerton *)p; handlerton *innobase_hton= (handlerton *)p;
...@@ -1661,7 +1662,7 @@ innobase_init( ...@@ -1661,7 +1662,7 @@ innobase_init(
#ifdef SAFE_MUTEX #ifdef SAFE_MUTEX
/* Disable deadlock detection as it's very slow for the buffer pool */ /* Disable deadlock detection as it's very slow for the buffer pool */
my_bool old_safe_mutex_deadlock_detector; old_safe_mutex_deadlock_detector= safe_mutex_deadlock_detector;
safe_mutex_deadlock_detector= 0; safe_mutex_deadlock_detector= 0;
#endif #endif
err = innobase_start_or_create_for_mysql(); err = innobase_start_or_create_for_mysql();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment