1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
Jon Olav Hauglid 82f4494125 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.
2010-02-05 15:52:17 +01:00
..
2010-01-11 18:47:27 -07:00
2009-08-20 14:30:59 +02:00
2009-12-03 18:47:20 +03:00
2010-02-03 03:06:42 +03:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2009-12-11 12:39:38 +03:00
2009-12-08 10:53:40 +03:00
2010-02-04 20:34:15 +03:00
2009-12-09 18:56:34 +03:00
2009-09-10 03:18:29 -06:00
2009-06-01 16:00:38 +04:00
2009-09-11 01:15:41 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-03-27 10:18:06 +08:00
2009-11-04 10:17:39 +01:00
2009-10-23 23:37:57 +05:00
2009-12-11 12:39:38 +03:00
2009-11-02 14:10:04 +03:00
2009-11-20 22:51:12 +03:00
2009-02-03 14:45:17 +01:00
2009-05-06 15:00:14 +05:30
2009-12-03 18:47:20 +03:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2010-02-03 03:06:42 +03:00
2009-11-20 22:51:12 +03:00
2009-11-30 10:49:37 +01:00
2009-11-11 21:30:51 +04:00
2009-12-11 15:24:23 +03:00
2009-09-10 03:18:29 -06:00
2010-01-15 15:42:15 +04:00
2009-02-19 18:22:28 +01:00
2010-01-15 15:42:15 +04:00
2009-11-06 17:54:19 +03:00
2009-12-10 17:38:01 +02:00
2009-10-19 14:58:13 +02:00
2010-02-03 03:06:42 +03:00
2010-01-11 18:47:27 -07:00
2009-12-29 15:19:05 +03:00
2009-12-29 15:19:05 +03:00
2009-10-27 14:09:36 +04:00
2010-02-02 12:22:17 +03:00
2009-11-20 22:51:12 +03:00
2009-12-11 12:39:38 +03:00
2009-12-09 18:56:34 +03:00
2009-02-19 17:59:00 +04:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-12-29 15:19:05 +03:00
2010-01-15 15:42:15 +04:00
2010-02-04 00:48:40 +03:00
2009-11-20 23:30:00 +03:00
2009-09-28 16:48:40 +03:00
2008-12-13 19:42:12 +00:00
2009-02-09 22:00:15 +01:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2009-12-09 12:37:54 +03:00
2009-12-11 15:24:23 +03:00
2009-12-16 10:48:07 +03:00
2010-02-02 16:58:15 +03:00