1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

some last minute Windows compile fixes and makefile corrections

This commit is contained in:
reggie@fedora.(none)
2005-09-15 14:32:01 -05:00
parent d8bd92895d
commit 66e6453e2a
10 changed files with 23 additions and 20 deletions

View File

@ -351,7 +351,7 @@ int openfrm(THD *thd, const char *name, const char *alias, uint db_stat,
char *buff;
if (!(buff= alloc_root(&outparam->mem_root, n_length)))
goto err;
if (my_pread(file, buff, n_length, record_offset + share->reclength,
if (my_pread(file, (byte*)buff, n_length, record_offset + share->reclength,
MYF(MY_NABP)))
goto err;
share->connect_string.length= uint2korr(buff);