summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2010-02-05 20:41:00 +0300
committerKonstantin Osipov <kostja@sun.com>2010-02-05 20:41:00 +0300
commitba678eef7de4a8c5fbea07928b87fef84765f22b (patch)
tree56ced26f530c39d6a88fc867bee024e21487fc5b /mysql-test/r
parentdad4caa9de242ff3a8e45db05f34da46e22cad05 (diff)
parent82f4494125728f6d4f10c80338d37f0e561a5cf8 (diff)
downloadmariadb-git-ba678eef7de4a8c5fbea07928b87fef84765f22b.tar.gz
Merge next-4284 -> next-4284-merge.
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/handler_innodb.result12
-rw-r--r--mysql-test/r/handler_myisam.result12
2 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/r/handler_innodb.result b/mysql-test/r/handler_innodb.result
index 4def5c82df8..90b0d0bb8fe 100644
--- a/mysql-test/r/handler_innodb.result
+++ b/mysql-test/r/handler_innodb.result
@@ -1464,3 +1464,15 @@ handler no_such_table read no_such_index first;
ERROR 42S02: Unknown table 'no_such_table' in HANDLER
handler no_such_table close;
ERROR 42S02: Unknown table 'no_such_table' in HANDLER
+#
+# Bug#50907 Assertion `hash_tables->table->next == __null' on
+# HANDLER OPEN
+#
+DROP TABLE IF EXISTS t1, t2;
+CREATE TEMPORARY TABLE t1 (i INT);
+CREATE TEMPORARY TABLE t2 (i INT);
+HANDLER t2 OPEN;
+HANDLER t2 READ FIRST;
+i
+HANDLER t2 CLOSE;
+DROP TABLE t1, t2;
diff --git a/mysql-test/r/handler_myisam.result b/mysql-test/r/handler_myisam.result
index 80f728a4dcd..e52d559a197 100644
--- a/mysql-test/r/handler_myisam.result
+++ b/mysql-test/r/handler_myisam.result
@@ -1462,6 +1462,18 @@ ERROR 42S02: Unknown table 'no_such_table' in HANDLER
handler no_such_table close;
ERROR 42S02: Unknown table 'no_such_table' in HANDLER
#
+# Bug#50907 Assertion `hash_tables->table->next == __null' on
+# HANDLER OPEN
+#
+DROP TABLE IF EXISTS t1, t2;
+CREATE TEMPORARY TABLE t1 (i INT);
+CREATE TEMPORARY TABLE t2 (i INT);
+HANDLER t2 OPEN;
+HANDLER t2 READ FIRST;
+i
+HANDLER t2 CLOSE;
+DROP TABLE t1, t2;
+#
# BUG #46456: HANDLER OPEN + TRUNCATE + DROP (temporary) TABLE, crash
#
CREATE TABLE t1 AS SELECT 1 AS f1;