Commit 8103b543 authored by unknown's avatar unknown

Fixed typo that was forgot in last changeset.

parent f3a56a17
......@@ -699,7 +699,7 @@ void init_update_queries(void)
bool is_update_query(enum enum_sql_command command)
{
DBUG_ASSERT(command >= 0 && command <= SQLCOM_END);
return (sql_command_flags[command] & CF_CHANGES_DATA) == 0;
return (sql_command_flags[command] & CF_CHANGES_DATA) != 0;
}
/*
......
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