summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <georg@beethoven.site>2005-02-18 15:17:17 +0100
committerunknown <georg@beethoven.site>2005-02-18 15:17:17 +0100
commitaf4b5c896d3e8751e357c4fce5d2327ad55f41fe (patch)
treeddef89d65faabb23d99884a1c814a298575538b1 /sql/sql_cache.cc
parent2b1b463cd82a2763493738cd8f4c767bb0659430 (diff)
downloadmariadb-git-af4b5c896d3e8751e357c4fce5d2327ad55f41fe.tar.gz
Changes and fixes for windows compilation
VC++Files/libmysqld/libmysqld.dsp: added sql/my_decimal.cc VC++Files/sql/mysqld.dsp: added my_decimal.cpp VC++Files/strings/strings.dsp: added decimal.c sql/field.cc: conversion fixes for windows compilation sql/item.h: fix for windows compilation sql/item_func.cc: fixed conversion for windows (cast from ulonglong to double is not supported) sql/item_sum.cc: typecast fix for windows compilation sql/sp_head.cc: typecast fix fo windows compilation sql/sql_cache.cc: typecast fix for windows compilation
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index b2f7922f1db..1f85d081d55 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1102,7 +1102,7 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
("Handler require invalidation queries of %s.%s %lld-%lld",
table_list.db, table_list.alias,
engine_data, table->engine_data()));
- invalidate_table(table->db(), table->key_length());
+ invalidate_table((byte *) table->db(), table->key_length());
}
else
thd->lex->safe_to_cache_query= 0; // Don't try to cache this