diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-05-04 16:59:24 +0400 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-05-04 16:59:24 +0400 |
commit | 16f26d2aaf65c2d69e24b7d644cc48a628a55862 (patch) | |
tree | d2b8fa6e7061d19a7f00c761431d8cec474c792d /extra/replace.c | |
parent | f9abd1ab314d3f36ad6d2fe708e6a0ba6a7cb058 (diff) | |
download | mariadb-git-16f26d2aaf65c2d69e24b7d644cc48a628a55862.tar.gz |
Patch for Bug#12394306: the sever may crash if mysql.event is corrupted.
The problem was that wrong structure of mysql.event was not detected and
the server continued to use wrongly-structured data.
The fix is to check the structure of mysql.event after opening before
any use. That makes operations with events more strict -- some operations
that might work before throw errors now. That seems to be Ok.
Another side-effect of the patch is that if mysql.event is corrupted,
unrelated DROP DATABASE statements issue an SQL warning about inability
to open mysql.event table.
Diffstat (limited to 'extra/replace.c')
0 files changed, 0 insertions, 0 deletions