summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_misc.result
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-01-03 13:44:16 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-01-03 13:44:16 +0100
commit7753a290645ca4af8b11f2fff1f47c3a64d45732 (patch)
treee421eaafa2bd26bfe8ba21fb76a13b017348d2cd /mysql-test/main/func_misc.result
parent02e30069573b09f5d26b6c357cd8aee3e876385a (diff)
parentb35290e19bda02257e4cf6c6acc6133b4e3f2372 (diff)
downloadmariadb-git-7753a290645ca4af8b11f2fff1f47c3a64d45732.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'mysql-test/main/func_misc.result')
-rw-r--r--mysql-test/main/func_misc.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/func_misc.result b/mysql-test/main/func_misc.result
index be6c1a5309f..9ff0ebdb9ea 100644
--- a/mysql-test/main/func_misc.result
+++ b/mysql-test/main/func_misc.result
@@ -1491,6 +1491,19 @@ x
x
DEALLOCATE PREPARE stmt;
#
+# MDEV-19680: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index) ||
+# (!(ptr >= table->record[0] && ptr < table->record[0] + table->s->reclength)))'
+# or alike failed upon SELECT with mix of functions from simple view
+#
+CREATE TABLE t1 (a INT) ENGINE=MyISAM;
+INSERT INTO t1 VALUES (1),(2);
+CREATE VIEW v1 AS SELECT * FROM t1;
+SELECT ISNULL( BENCHMARK(1, MIN(a))) FROM v1;
+ISNULL( BENCHMARK(1, MIN(a)))
+0
+DROP VIEW v1;
+DROP TABLE t1;
+#
# Start of 10.2 tests
#
#