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 | 82f4494125728f6d4f10c80338d37f0e561a5cf8 (patch) | |
tree | 1305dc194ec8b02a56b3a927e76878558587d8bb /mysql-test/t/mysql.test | |
parent | a9e22b589677df9035c73e61b80be0fc54d175a5 (diff) | |
download | mariadb-git-82f4494125728f6d4f10c80338d37f0e561a5cf8.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 'mysql-test/t/mysql.test')
0 files changed, 0 insertions, 0 deletions