Commit 5c329477 authored by unknown's avatar unknown

InnoDB: Enable ut_ad() assertions in MySQL debug builds.


innobase/include/univ.i:
  InnoDB: Define UNIV_DEBUG when DBUG_ON (in MySQL) is defined.
  This enables InnoDB debug assertions in debug builds of mysqld.
parent 2afeecfc
...@@ -86,8 +86,10 @@ memory is read outside the allocated blocks. */ ...@@ -86,8 +86,10 @@ memory is read outside the allocated blocks. */
/* Make a non-inline debug version */ /* Make a non-inline debug version */
#ifdef DBUG_ON
# define UNIV_DEBUG
#endif /* DBUG_ON */
/* /*
#define UNIV_DEBUG
#define UNIV_SYNC_DEBUG #define UNIV_SYNC_DEBUG
#define UNIV_MEM_DEBUG #define UNIV_MEM_DEBUG
......
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