summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2000-11-17 02:36:46 +0200
committermonty@narttu.mysql.fi <>2000-11-17 02:36:46 +0200
commit22415489f2bef07e1617cb93a5c3f3a8c332ce25 (patch)
tree09e51a2c4d96c3afa0d966f7469e46432fc6dc58 /sql/log.cc
parentca2cca8dce9fa5029f5a96d6b266e0fbdc4bc5f8 (diff)
downloadmariadb-git-22415489f2bef07e1617cb93a5c3f3a8c332ce25.tar.gz
Fixes for bugs in the usage of IO_CACHE
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index c697ae276fc..d5b2b16b368 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -582,7 +582,7 @@ void MYSQL_LOG::write(THD *thd,enum enum_server_command command,
if (format)
{
if (my_b_write(&log_file," ",1) ||
- my_b_printf(&log_file,format,args) == (uint) -1)
+ my_b_vprintf(&log_file,format,args) == (uint) -1)
error=errno;
}
if (my_b_write(&log_file,"\n",1) ||