summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-08-22 00:18:32 +0300
committermonty@donna.mysql.com <>2000-08-22 00:18:32 +0300
commitf0952ce3e1e4a315efb62b09038bcd933b51d5a1 (patch)
treec129c5ccdb3df8c87c28c6a51baac6e208294313 /sql/log.cc
parent48ee575ebcae86c55687b41e6af9c48c75f55d77 (diff)
downloadmariadb-git-f0952ce3e1e4a315efb62b09038bcd933b51d5a1.tar.gz
FLUSH TABLE table_list
Fixes for RENAME TABLE Portability fixes
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 3c21a1a9422..e73f0c802a5 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -221,7 +221,7 @@ int MYSQL_LOG::find_first_log(LOG_INFO* linfo, const char* log_name)
if(!index_file) return LOG_INFO_INVALID;
int error = 0;
char* fname = linfo->log_file_name;
- int log_name_len = strlen(log_name);
+ int log_name_len = (uint) strlen(log_name);
pthread_mutex_lock(&LOCK_index);
if(my_fseek(index_file, 0L, MY_SEEK_SET, MYF(MY_WME) ) == MY_FILEPOS_ERROR)
@@ -296,7 +296,7 @@ void MYSQL_LOG::make_log_name(char* buf, const char* log_ident)
if(inited)
{
int dir_len = dirname_length(log_file_name);
- int ident_len = strlen(log_ident);
+ int ident_len = (uint) strlen(log_ident);
if(dir_len + ident_len + 1 > FN_REFLEN)
{
buf[0] = 0;