summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-30 02:32:41 +0300
committerunknown <monty@mysql.com>2004-03-30 02:32:41 +0300
commita035472991ac801f77be073fe2671385fd32f6e9 (patch)
tree54b32bf1935af765ea1bb9b118082d9ce067d4c0 /sql/sql_cache.cc
parent5161094a6668e1e2e5b2f4b59a5a41207aecfd3b (diff)
downloadmariadb-git-a035472991ac801f77be073fe2671385fd32f6e9.tar.gz
false/true -> FALSE/TRUE
Fixes after last merge mysql-test/r/bdb-crash.result: fixed bad merge mysql-test/r/myisam.result: after merge fix mysql-test/r/order_by.result: fixed bad merge mysql-test/t/order_by.test: after merge fix sql/field_conv.cc: false/true -> FALSE/TRUE sql/handler.cc: false/true -> FALSE/TRUE sql/item.cc: false/true -> FALSE/TRUE sql/item_cmpfunc.cc: false/true -> FALSE/TRUE sql/item_sum.cc: false/true -> FALSE/TRUE sql/slave.cc: false/true -> FALSE/TRUE sql/sql_acl.cc: false/true -> FALSE/TRUE sql/sql_cache.cc: after merge fix sql/sql_help.cc: false/true -> FALSE/TRUE sql/sql_olap.cc: false/true -> FALSE/TRUE sql/sql_parse.cc: false/true -> FALSE/TRUE sql/sql_select.cc: fix after bad merge sql/sql_table.cc: fix after bad merge sql/sql_test.cc: false/true -> FALSE/TRUE
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc5
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;