summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-11-03 21:02:23 +0200
committerMichael Widenius <monty@askmonty.org>2010-11-03 21:02:23 +0200
commit3bac9cf7fe12c1b1c644ac7963c701b79b3127f3 (patch)
treef61bb1837f4616c2f1d3f48aa5fec67e9ca7e8c0 /dbug
parentf81956289a279bf608613927121732714f6d271e (diff)
downloadmariadb-git-3bac9cf7fe12c1b1c644ac7963c701b79b3127f3.tar.gz
Fixed compile error when not using gcc (crashes at least on windows)
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index d3d8c604db9..608b4395c81 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -1826,8 +1826,8 @@ FILE *_db_fp_(void)
BOOLEAN _db_keyword_(CODE_STATE *cs, const char *keyword, int strict)
{
- get_code_state_if_not_set_or_return FALSE;
int match= strict ? INCLUDE : INCLUDE|MATCHED;
+ get_code_state_if_not_set_or_return FALSE;
return (DEBUGGING && DoTrace(cs) & DO_TRACE &&
InList(cs->stack->keywords, keyword, strict) & match);