Fixed compile error when not using gcc (crashes at least on windows)

This commit is contained in:
Michael Widenius 2010-11-03 21:02:23 +02:00
parent f81956289a
commit 3bac9cf7fe

View File

@ -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);