mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
fixed compilation warnings. addendum to the fix for bug 29125
This commit is contained in:
parent
26adc3cdc7
commit
e8cc09dc8d
7 changed files with 10 additions and 12 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue