diff options
author | unknown <bar@mysql.com> | 2004-06-23 18:34:26 +0500 |
---|---|---|
committer | unknown <bar@mysql.com> | 2004-06-23 18:34:26 +0500 |
commit | d02ddb59a175ecd49be0796f20041c09976941c3 (patch) | |
tree | c3d2768d615e47029b64a334c9f7e5f1e08b2bb9 /sql/log.cc | |
parent | 540121e1f9f16e32f80dce3a536c6b6d67486681 (diff) | |
download | mariadb-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.cc | 12 |
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)) |