diff options
| author | Sergey Vojtovich <svoj@mariadb.org> | 2015-12-10 15:32:07 +0400 |
|---|---|---|
| committer | Sergey Vojtovich <svoj@mariadb.org> | 2015-12-11 11:42:04 +0400 |
| commit | d09c60cff9027f45ea526cf755305c3d9a9079c2 (patch) | |
| tree | 31db3874c1c3c86aa0a5bb2456edebbbb5fc3b19 /include/mysql/psi/mysql_socket.h | |
| parent | 537c750e328cd080365e465acd4f0383bf0febf3 (diff) | |
| download | mariadb-git-d09c60cff9027f45ea526cf755305c3d9a9079c2.tar.gz | |
MDEV-8571 - After mysqloptimize sometimes one of the tables is marked as crashed
OPTIMIZE TABLE against MyISAM/Aria table may fail and leave stale temporary file
if mysql_file_create() returns 0 file descriptor. This was due to wrong
condition, which considered 0 as failure.
5.5 doesn't have fix for MDEV-5679, thus 0 file descriptor is always occupied
by stdin and this bug is not reproducible.
10.1 has fix for MDEV-8475, which hides this bug.
No test case since it mostly depends on how OS returns file descriptors.
Diffstat (limited to 'include/mysql/psi/mysql_socket.h')
0 files changed, 0 insertions, 0 deletions
