diff options
author | monty@mysql.com/nosik.monty.fi <> | 2006-11-01 19:41:09 +0200 |
---|---|---|
committer | monty@mysql.com/nosik.monty.fi <> | 2006-11-01 19:41:09 +0200 |
commit | ca99516cc704509db4312e1b2addc379cef20749 (patch) | |
tree | 5e83a9c8d05ac5737f80de4551b918fa425184e4 /sql/log.cc | |
parent | 99b572b9ebdcc0fe1037bd764d58cf35fca2090d (diff) | |
download | mariadb-git-ca99516cc704509db4312e1b2addc379cef20749.tar.gz |
Fixed a lot of compiler warnings (Mainly in mysqld and instance manager)
Fixed some possible fatal wrong arguments to printf() style functions
Initialized some not initialized variables
Fixed bug in stored procedure and continue handlers
(Fixes Bug#22150)
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc index a1ed9bd6df3..fb14aa62dd8 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -2010,7 +2010,7 @@ bool MYSQL_QUERY_LOG::write(time_t event_time, const char *user_host, goto err; /* command_type, thread_id */ - length= my_snprintf(buff, 32, "%5ld ", thread_id); + length= my_snprintf(buff, 32, "%5ld ", (long) thread_id); if (my_b_write(&log_file, (byte*) buff, length)) goto err; |