summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_misc.result
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-01-03 16:15:40 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-01-03 16:15:40 +0200
commitca8c3be47db39319ecdc915bd50f25b5d334c2b1 (patch)
treef49f621232546a95330267bf6746bdd5bf5fd976 /mysql-test/main/func_misc.result
parent9949ab93939369fd4dacab859428c1c4effd5cca (diff)
parent9d036f840ad5925edac419c0cb6ce838ad0f3a2f (diff)
downloadmariadb-git-ca8c3be47db39319ecdc915bd50f25b5d334c2b1.tar.gz
Merge 10.4 into 10.5
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 38d3d927416..ae6686ecadc 100644
--- a/mysql-test/main/func_misc.result
+++ b/mysql-test/main/func_misc.result
@@ -1494,6 +1494,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
#
#