1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

fixes for windows builds

This commit is contained in:
Sergei Golubchik
2010-04-02 11:20:09 +02:00
parent c7d173589c
commit 3b03f5d97e
15 changed files with 22 additions and 23 deletions

View File

@@ -924,7 +924,7 @@ void THD::update_stats(void)
/* A SQL query. */
if (lex->sql_command == SQLCOM_SELECT)
select_commands++;
else if (! sql_command_flags[lex->sql_command] & CF_STATUS_COMMAND)
else if (! (sql_command_flags[lex->sql_command] & CF_STATUS_COMMAND))
{
/* Ignore 'SHOW ' commands */
}