summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorgeorg@beethoven.site <>2005-02-18 15:17:17 +0100
committergeorg@beethoven.site <>2005-02-18 15:17:17 +0100
commit26e3685b02f419d69fbdf10c79dab53cb8d0f5be (patch)
treeddef89d65faabb23d99884a1c814a298575538b1 /sql/sql_cache.cc
parent3d0883bb05b8522f12ee1bf2bf5f0c3f50afbf6e (diff)
downloadmariadb-git-26e3685b02f419d69fbdf10c79dab53cb8d0f5be.tar.gz
Changes and fixes 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