diff options
author | unknown <svoj@mysql.com/april.(none)> | 2007-03-25 00:24:39 +0400 |
---|---|---|
committer | unknown <svoj@mysql.com/april.(none)> | 2007-03-25 00:24:39 +0400 |
commit | fa82ebd2d650fe92119ac72169460b80da84e60f (patch) | |
tree | da2d168dd4d203ae9bd785ebef24268f8cd01416 /sql/sql_servers.cc | |
parent | 99c5c28c3cc9eb417f4ca12f606c5abcf6b02a19 (diff) | |
download | mariadb-git-fa82ebd2d650fe92119ac72169460b80da84e60f.tar.gz |
BUG#24566 - Incorrect key file for table ( the size of table is more than 2G)
Accessing a file that is bigger than 2G may report that read/write operation
failed. This may affect anything that uses my_pread/my_pwrite functions, e.g.
MyISAM, ARCHIVE, binary log.
For MyISAM INSERT may report that table is crashed when writing to a table
that is bigger than 2G.
This is fixed by using proper offset type in my_pread/my_pwrite functions on
systems that do not have native pread/pwrite calls.
Affects systems that do not have native pread/pwrite calls, e.g. Windows.
No test case for this fix, since it requires huge table.
mysys/my_pread.c:
Use proper offset type for restoring position on systems that do not have native
pread/pwrite calls.
Diffstat (limited to 'sql/sql_servers.cc')
0 files changed, 0 insertions, 0 deletions