summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-06-23 18:34:26 +0500
committerunknown <bar@mysql.com>2004-06-23 18:34:26 +0500
commitd02ddb59a175ecd49be0796f20041c09976941c3 (patch)
treec3d2768d615e47029b64a334c9f7e5f1e08b2bb9 /sql/log.cc
parent540121e1f9f16e32f80dce3a536c6b6d67486681 (diff)
downloadmariadb-git-d02ddb59a175ecd49be0796f20041c09976941c3.tar.gz
log.cc:
rpl_charset failed on Linux/AMD64. sql/log.cc: rpl_charset failed on Linux/AMD64.
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 09e83392dac..0ee1ce0ea47 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1258,12 +1258,12 @@ bool MYSQL_LOG::write(Log_event* event_info)
{
char buf[200];
int written= my_snprintf(buf, sizeof(buf)-1,
- "SET ONE_SHOT CHARACTER_SET_CLIENT=%lu,\
-COLLATION_CONNECTION=%lu,COLLATION_DATABASE=%lu,COLLATION_SERVER=%lu",
- thd->variables.character_set_client->number,
- thd->variables.collation_connection->number,
- thd->variables.collation_database->number,
- thd->variables.collation_server->number);
+ "SET ONE_SHOT CHARACTER_SET_CLIENT=%u,\
+COLLATION_CONNECTION=%u,COLLATION_DATABASE=%u,COLLATION_SERVER=%u",
+ (uint) thd->variables.character_set_client->number,
+ (uint) thd->variables.collation_connection->number,
+ (uint) thd->variables.collation_database->number,
+ (uint) thd->variables.collation_server->number);
Query_log_event e(thd, buf, written, 0);
e.set_log_pos(this);
if (e.write(file))