diff options
author | Michael Widenius <monty@askmonty.org> | 2010-11-04 16:57:30 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2010-11-04 16:57:30 +0200 |
commit | e3c8798eb6006213b8f67c913e9488c059fcaf66 (patch) | |
tree | 04d73549ea730b736622a8a0ffef1f994de5a794 /include/maria.h | |
parent | 3bac9cf7fe12c1b1c644ac7963c701b79b3127f3 (diff) | |
download | mariadb-git-e3c8798eb6006213b8f67c913e9488c059fcaf66.tar.gz |
When scanning pages, stop when you are at 'data_file_length'.
This fixes a bug that gave ER_FILE_TOO_SHORT error when scanning Aria tables.
storage/maria/ma_blockrec.c:
Changed code so that we update share->state.state.data_file_length after page cache write is done.
When scanning pages, stop when you are at 'data_file_length'.
(We can't trust the bitmap as there may be reserved pages in the bitmap that are not yet written).
This fixes a bug that gave ER_FILE_TOO_SHORT error when scanning Aria tables.
storage/maria/maria_def.h:
Updated struct for stopping scanning at end of file
Diffstat (limited to 'include/maria.h')
0 files changed, 0 insertions, 0 deletions