diff options
author | unknown <Magnus@hugo.> | 2006-04-22 13:29:05 +0200 |
---|---|---|
committer | unknown <Magnus@hugo.> | 2006-04-22 13:29:05 +0200 |
commit | c6a0bfbae3dd72f16a47ede1f706aabab1eb8c10 (patch) | |
tree | 4f457cf88e730f266fb6c6ccd4b285e9bb9dcb87 | |
parent | a0aea60d0e3ea05b8e4d9f58e6ad1d98203eb175 (diff) | |
download | mariadb-git-c6a0bfbae3dd72f16a47ede1f706aabab1eb8c10.tar.gz |
Fix windows compile problem
-rw-r--r-- | sql/sql_table.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index b0e5a0b111a..ca13fb27f96 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -328,7 +328,7 @@ static bool read_ddl_log_file_entry(uint entry_no) uint io_size= global_ddl_log.io_size; DBUG_ENTER("read_ddl_log_file_entry"); - if (my_pread(file_id, file_entry_buf, io_size, io_size * entry_no, + if (my_pread(file_id, (byte*)file_entry_buf, io_size, io_size * entry_no, MYF(MY_WME)) != io_size) error= TRUE; DBUG_RETURN(error); @@ -352,7 +352,7 @@ static bool write_ddl_log_file_entry(uint entry_no) char *file_entry_buf= (char*)global_ddl_log.file_entry_buf; DBUG_ENTER("write_ddl_log_file_entry"); - if (my_pwrite(file_id, file_entry_buf, + if (my_pwrite(file_id, (byte*)file_entry_buf, IO_SIZE, IO_SIZE * entry_no, MYF(MY_WME)) != IO_SIZE) error= TRUE; DBUG_RETURN(error); |