diff options
author | marko@hundin.mysql.fi <> | 2005-01-25 14:16:41 +0200 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2005-01-25 14:16:41 +0200 |
commit | ea1bd1d5e5f86c8c8d9d569524d7d62d878ddc22 (patch) | |
tree | 18b3afa36cf4027a5172d4006fc2e2eb4dc92d28 /innobase | |
parent | 8527f256c0688a4ecbd79b60534184a92b5d755f (diff) | |
download | mariadb-git-ea1bd1d5e5f86c8c8d9d569524d7d62d878ddc22.tar.gz |
InnoDB: Enable ut_ad() assertions in MySQL debug builds.
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/include/univ.i | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/include/univ.i b/innobase/include/univ.i index 4854e5a7b78..12846593977 100644 --- a/innobase/include/univ.i +++ b/innobase/include/univ.i @@ -86,8 +86,10 @@ memory is read outside the allocated blocks. */ /* Make a non-inline debug version */ +#ifdef DBUG_ON +# define UNIV_DEBUG +#endif /* DBUG_ON */ /* -#define UNIV_DEBUG #define UNIV_SYNC_DEBUG #define UNIV_MEM_DEBUG |