diff options
author | unknown <svoj@mysql.com/june.mysql.com> | 2007-04-28 14:37:40 +0500 |
---|---|---|
committer | unknown <svoj@mysql.com/june.mysql.com> | 2007-04-28 14:37:40 +0500 |
commit | 0eaf97393dbe4e8e13bbe85c18c71b41e473b086 (patch) | |
tree | 7f92a900379be5fa3debdfc612c3731cd99f95e1 /mysys/my_seek.c | |
parent | a4bfd854145379f86bf622a44e28ced6136c8fa8 (diff) | |
download | mariadb-git-0eaf97393dbe4e8e13bbe85c18c71b41e473b086.tar.gz |
BUG#27998 - mysqld crashed when executing INSERT DELAYED
on a BLACKHOLE table
Using INSERT DELAYED on BLACKHOLE tables could lead to server
crash.
This happens because delayed thread wants to upgrade a lock,
but BLACKHOLE tables do not have locks at all.
This patch rejects attempts to use INSERT DELAYED on MERGE
tables.
mysql-test/r/blackhole.result:
A test case for BUG#27998.
mysql-test/t/blackhole.test:
A test case for BUG#27998.
sql/ha_blackhole.h:
Removed HA_CAN_INSERT_DELAYED flag from table_flags().
The insert delayed thread upgrades the lock. Hence it is
incapable to handle BLACKHOLE tables, which do not have
locks at all.
Diffstat (limited to 'mysys/my_seek.c')
0 files changed, 0 insertions, 0 deletions