diff options
author | monty@mysql.com <> | 2004-03-30 02:32:41 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-30 02:32:41 +0300 |
commit | 4bc6b551f83844f01a2284efcf5cc982a9c959b3 (patch) | |
tree | 54b32bf1935af765ea1bb9b118082d9ce067d4c0 /sql/sql_cache.cc | |
parent | 585d97b74115cfd40e215c8690c3e512c242c29a (diff) | |
download | mariadb-git-4bc6b551f83844f01a2284efcf5cc982a9c959b3.tar.gz |
false/true -> FALSE/TRUE
Fixes after last merge
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 52b0b05a757..66422a5ed3a 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -883,9 +883,8 @@ void Query_cache::store_query(THD *thd, TABLE_LIST *tables_used) DBUG_PRINT("qcache", ("Another thread process same query")); } } - else - if (thd->lex.sql_command == SQLCOM_SELECT) - statistic_increment(refused, &structure_guard_mutex); + else if (thd->lex->sql_command == SQLCOM_SELECT) + statistic_increment(refused, &structure_guard_mutex); end: DBUG_VOID_RETURN; |