diff options
author | monty@donna.mysql.com <> | 2001-01-12 13:52:32 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2001-01-12 13:52:32 +0200 |
commit | 9c80d5cb70d530d63690b53a42554b57a3e513b4 (patch) | |
tree | feed2fb14dbc49c9f89bfedaa06d5d15c58c8993 /sql/log.cc | |
parent | d3d8bba024c045d5514eb0b7029bc1cb7410d180 (diff) | |
download | mariadb-git-9c80d5cb70d530d63690b53a42554b57a3e513b4.tar.gz |
Patches for NetBSD/macppc
Fixed bug in LEFT JOIN
Added bdb_log_buffer_size
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 41fb4bfb856..df3168c02cf 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -952,7 +952,7 @@ void sql_print_error(const char *format,...) #ifndef DBUG_OFF { char buff[1024]; - vsprintf(buff,format,args); + vsnprintf(buff,sizeof(buff)-1,format,args); DBUG_PRINT("error",("%s",buff)); } #endif |