summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@sun.com>2009-11-12 12:43:33 +0100
committerMagne Mahre <magne.mahre@sun.com>2009-11-12 12:43:33 +0100
commit6947ee377145c577a9bbba4d4f3cf0a4c1f5b110 (patch)
tree1e73509b8afcd0c9e53d908ae713a63d01f74de8 /sql/ha_partition.cc
parentedfd29ddf294a2609f1e55e60d93112549451fd7 (diff)
downloadmariadb-git-6947ee377145c577a9bbba4d4f3cf0a4c1f5b110.tar.gz
Bug #37183 insert ignore into .. select ... hangs after
deadlock was encountered The bug is caused by an inconsistent handling of the IGNORE clause. A read from a const table caused a lock timeout (ER_LOCK_TIMEOUT) in innodb. Since the IGNORE clause was given, the timeout was converted into a warning instead of an error, thus not populating the diagnostics area. When innodb subsequently marked the transaction for rollback, mysql asserted since the diag.area was empty. This patch consists of only a test case, as the bug itself was fixed by the patch for Bug #46539
Diffstat (limited to 'sql/ha_partition.cc')
0 files changed, 0 insertions, 0 deletions