diff options
author | Jon Olav Hauglid <jon.hauglid@sun.com> | 2010-02-05 15:52:17 +0100 |
---|---|---|
committer | Jon Olav Hauglid <jon.hauglid@sun.com> | 2010-02-05 15:52:17 +0100 |
commit | 1ca7c51961f3e4840f1f054898eacbe39dfec058 (patch) | |
tree | 1305dc194ec8b02a56b3a927e76878558587d8bb /sql/ha_partition.h | |
parent | 89269e5142322af414316c9e09f948da48adc1e0 (diff) | |
download | mariadb-git-1ca7c51961f3e4840f1f054898eacbe39dfec058.tar.gz |
Bug #50907 Assertion `hash_tables->table->next == __null' on
HANDLER OPEN
The problem was a too restrictive assert in the code for
HANDLER ... OPEN and HANDLER ... READ that checked table->next
to verify that we didn't open views or merge tables.
This pointer is also used to link temporary tables together
(see thd->temporary_tables). In this case TABLE::next can be
set even if we're trying to open a single table.
This patch adjust the two asserts to also check for the presence
of temporary tables.
Test case added to handler_myisam.test.
Diffstat (limited to 'sql/ha_partition.h')
0 files changed, 0 insertions, 0 deletions