summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-20 16:27:53 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-20 16:27:53 +0200
commitef4ab5cfaa7ab48b4fa3a147e4d6c5c29b1be645 (patch)
treeb7dcdd9f750b94c728ed5e3feed722a8809775ad /sql/sql_cache.cc
parent4a3c0d800ac2670f94756f32213bf8f3b3dd2c4b (diff)
downloadmariadb-git-ef4ab5cfaa7ab48b4fa3a147e4d6c5c29b1be645.tar.gz
fixed compilation warnings. addendum to the fix for bug 29125
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 25907d4ec20..32faeae9dcc 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1114,7 +1114,7 @@ def_week_frmt: %lu, in_trans: %d, autocommit: %d",
{
memcpy(thd->query+thd->query_length+1, thd->db, thd->db_length);
DBUG_PRINT("qcache", ("database: %s length: %u",
- thd->db, thd->db_length));
+ thd->db, (unsigned) thd->db_length));
}
else
{
@@ -1307,7 +1307,7 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
{
memcpy(sql+query_length+1, thd->db, thd->db_length);
DBUG_PRINT("qcache", ("database: '%s' length: %u",
- thd->db, thd->db_length));
+ thd->db, (unsigned)thd->db_length));
}
else
{