summaryrefslogtreecommitdiff
path: root/storage/maria/ma_rename.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2008-08-06 16:03:27 +0200
committerSergei Golubchik <serg@mysql.com>2008-08-06 16:03:27 +0200
commit7ca3fc4ff0ab53835da9f57af7f630f4c65868b7 (patch)
tree106078f9e76b43fd1bc82f8d10b650d34ef93e0d /storage/maria/ma_rename.c
parent651f61fc1f4172bd5f76d1060e32df76f9f76d3a (diff)
downloadmariadb-git-7ca3fc4ff0ab53835da9f57af7f630f4c65868b7.tar.gz
compiler warnings
Diffstat (limited to 'storage/maria/ma_rename.c')
-rw-r--r--storage/maria/ma_rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/maria/ma_rename.c b/storage/maria/ma_rename.c
index e9501d21350..f238423ee69 100644
--- a/storage/maria/ma_rename.c
+++ b/storage/maria/ma_rename.c
@@ -69,9 +69,9 @@ int maria_rename(const char *old_name, const char *new_name)
LSN lsn;
LEX_CUSTRING log_array[TRANSLOG_INTERNAL_PARTS + 2];
uint old_name_len= strlen(old_name)+1, new_name_len= strlen(new_name)+1;
- log_array[TRANSLOG_INTERNAL_PARTS + 0].str= old_name;
+ log_array[TRANSLOG_INTERNAL_PARTS + 0].str= (uchar*)old_name;
log_array[TRANSLOG_INTERNAL_PARTS + 0].length= old_name_len;
- log_array[TRANSLOG_INTERNAL_PARTS + 1].str= new_name;
+ log_array[TRANSLOG_INTERNAL_PARTS + 1].str= (uchar*)new_name;
log_array[TRANSLOG_INTERNAL_PARTS + 1].length= new_name_len;
/*
For this record to be of any use for Recovery, we need the upper